From f57fbfe5eb02df1a91f1a237c4d27165afd87c13 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 22 Apr 2021 22:27:26 +1000 Subject: [PATCH] Don't always set SUDO. Rely on sourcing configs to set as appropriate. --- .github/workflows/c-cpp.yml | 1 - .github/workflows/selfhosted.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index c4ae28434..c2825a30f 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -52,7 +52,6 @@ jobs: - name: make tests run: ./.github/run_test.sh ${{ matrix.configs }} env: - SUDO: sudo TEST_SSH_UNSAFE_PERMISSIONS: 1 - name: save logs if: failure() diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml index 55ba435e6..ec91ebda5 100644 --- a/.github/workflows/selfhosted.yml +++ b/.github/workflows/selfhosted.yml @@ -10,7 +10,6 @@ jobs: runs-on: ${{ matrix.os }} env: TARGET_HOST: ${{ matrix.os }} - SUDO: sudo strategy: fail-fast: false # We use a matrix in two parts: firstly all of the VMs are tested with the