Commit ca9c49c84a11bb33bf7122153d71e4233c42f7cb

Edward Thomson 2020-11-20T23:15:34

Merge pull request #5702 from libgit2/ethomson/arm-actions ci: supply a token for self-hosted runners

diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 0a28f36..70edd96 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -71,7 +71,6 @@ jobs:
           env:
             CC: gcc
             CMAKE_OPTIONS: -DDEPRECATE_HARD=ON -DUSE_LEAK_CHECKER=valgrind -DUSE_GSSAPI=ON
-            ACTIONS_RUNNER_TOKEN: ${{ secrets.ACTIONS_RUNNER_TOKEN }}
         - # macOS
           os: macos-10.15
           env:
@@ -121,7 +120,8 @@ jobs:
             SKIP_SSH_TESTS: true
             SKIP_NEGOTIATE_TESTS: true
       fail-fast: false
-    env: ${{ matrix.platform.env }}
+    env:
+      ACTIONS_RUNNER_TOKEN: ${{ secrets.ACTIONS_RUNNER_TOKEN }}
     runs-on: ${{ matrix.platform.os }}
     steps:
     - name: Check out repository
@@ -167,4 +167,5 @@ jobs:
           ../ci/build.sh
           ../ci/test.sh
         fi
+      env: ${{ matrix.platform.env }}
       shell: bash