Skip to content

Commit

Permalink
Add zip step
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaschan committed Sep 4, 2024
1 parent 041275e commit 472d437
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Upload build result
uses: actions/[email protected]
with:
name: nix-package
name: insanity-nix-package
path: result

release:
Expand All @@ -125,6 +125,14 @@ jobs:
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Zip artifacts
run: |
for f in *; do
if [ -d "$f" ]; then
zip -r "$f.zip" "$f"
rm -rf "$f"
fi
done
- name: Create release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 472d437

Please sign in to comment.