Skip to content

Commit

Permalink
Simplify conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Feb 19, 2024
1 parent 798f587 commit 8f818a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
path: /tmp/nix-cache

- name: Import Nix store cache
if: ${{ steps.nix-cache.outputs.cache-hit == 'true' }}
if: steps.nix-cache.outputs.cache-hit == 'true'
run: |
nix-store --import < /tmp/nix-cache
Expand All @@ -49,7 +49,7 @@ jobs:
nix-shell --pure --run true
- name: Export Nix store cache
if: ${{ steps.nix-cache.outputs.cache-hit == 'false' }}
if: steps.nix-cache.outputs.cache-hit != 'true'
run: |
nix-store --export $(find /nix/store -maxdepth 1 -name '*-*') > /tmp/nix-cache
Expand Down

0 comments on commit 8f818a1

Please sign in to comment.