Skip to content

Commit

Permalink
fix(ci): Dont double compress nix artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Nov 20, 2024
1 parent b2972f5 commit 151cf38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nix-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ jobs:
zstd --compress result/nixos.img -o artifacts/nixos.img.zst
ls -aRsh artifacts
- name: Upload Artifacts
- name: Upload Artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # [email protected]
if: github.event_name == 'workflow_dispatch' || format('refs/heads/{0}', github.event.repository.default_branch) == github.ref
with:
# upload v4 doesn't support writing multiple times to the same artifact name.
# so its important that we name it after the workflow and not something
# general like "artifacts"
name: nix
path: artifacts
path: artifacts/nixos.img.zst
compression-level: 0
if-no-files-found: error
retention-days: 14

0 comments on commit 151cf38

Please sign in to comment.