mirror of
https://codeberg.org/icewind/attic-action.git
synced 2026-06-03 09:34:11 +02:00
run private cache test only when secret is present
This commit is contained in:
parent
13c6d228be
commit
448ed60298
1 changed files with 3 additions and 0 deletions
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
|
|
@ -2,6 +2,8 @@ name: "cachix-action test"
|
|||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
public-cache:
|
||||
|
|
@ -40,6 +42,7 @@ jobs:
|
|||
- run: nix-build test.nix
|
||||
|
||||
private-cache:
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue