Commit 823137dcc6e4c3d46497ad59c8c0501863b6378f

Edward Thomson 2020-11-20T23:14:18

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