Skip to content

Commit 177fc8b

Browse files
committed
ci: run private cache tests when secrets are available
1 parent 9bb3a15 commit 177fc8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
- run: nix-build test.nix
4141

4242
private-cache:
43-
if: ${{ github.ref == 'refs/heads/master' }}
43+
# Only run when secrets are available
44+
if: ${{ github.secret_source == 'Actions' }}
4445
strategy:
4546
matrix:
4647
os: [ubuntu-latest, macos-latest]

0 commit comments

Comments
 (0)