-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Dont double compress nix artifacts
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |