mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
ci: do not attempt to push to cachix on PR builds
Secrets are not available when triggered by a PR. Therefore, CACHIX_SIGNING_KEY is not defined and cachix will always fail.
This commit is contained in:
parent
856d931972
commit
b446b6572e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/fakedroid-odt.yml
vendored
2
.github/workflows/fakedroid-odt.yml
vendored
|
|
@ -30,5 +30,5 @@ jobs:
|
|||
tests/fakedroid.sh nix-on-droid on-device-test
|
||||
|
||||
- name: upload
|
||||
if: always()
|
||||
if: always() && github.event_name != 'pull_request'
|
||||
run: tests/fakedroid.sh nix-shell -p cachix --run 'nix path-info --all | cachix push nix-on-droid'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue