workflow: use !cancelled() instead of always()
This commit is contained in:
parent
1537fd6444
commit
c6999339da
2 changed files with 6 additions and 3 deletions
|
@ -70,7 +70,8 @@ jobs:
|
|||
nix build -L "$package"
|
||||
|
||||
- name: cache
|
||||
# if: always()
|
||||
# https://stackoverflow.com/a/58859404
|
||||
if: '!cancelled()'
|
||||
run: |
|
||||
package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
|
||||
derivations=()
|
||||
|
@ -136,7 +137,8 @@ jobs:
|
|||
nix build -L "$package"
|
||||
|
||||
- name: cache
|
||||
# if: always()
|
||||
# https://stackoverflow.com/a/58859404
|
||||
if: '!cancelled()'
|
||||
run: |
|
||||
package=".#homeConfigurations."${{ matrix.home }}".activationPackage"
|
||||
derivations=()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue