diff options
author | Travis A. Everett <travis.a.everett@gmail.com> | 2021-09-01 18:08:38 -0500 |
---|---|---|
committer | Travis A. Everett <travis.a.everett@gmail.com> | 2021-09-01 18:08:38 -0500 |
commit | 0386f0c079540c3d92c8c932b1ac4b9f09bc414b (patch) | |
tree | 7c30670205f426e98bd5677668face47a7eb3b3f /.github/workflows/test.yml | |
parent | 50a35860ee9237d341948437c5f70a7f0987d393 (diff) |
fix CI for users with no installer-test cachix
Closes #5173
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r-- | .github/workflows/test.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b2b1f07fb..456a84f87 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: push: jobs: tests: + needs: [check_cachix] strategy: matrix: os: [ubuntu-latest, macos-latest] @@ -16,6 +17,7 @@ jobs: - uses: cachix/install-nix-action@v13 - run: echo CACHIX_NAME="$(echo $GITHUB_REPOSITORY-install-tests | tr "[A-Z]/" "[a-z]-")" >> $GITHUB_ENV - uses: cachix/cachix-action@v10 + if: needs.check_cachix.outputs.secret == 'true' with: name: '${{ env.CACHIX_NAME }}' signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' |