Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriknielaender authored Apr 7, 2024
1 parent b4261ba commit e3a46e1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ jobs:
- name: Build release
run: zig build release

- name: Archive executable
- name: Archive executables
run: |
mkdir -p artifacts
for binary in zig-out/*; do
tar -czvf artifacts/$(basename "$binary").tar.gz -C zig-out $(basename "$binary")
done
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: zvm
path: zig-out/*
name: zvm-artifacts
path: artifacts/*.tar.gz

# This job will need to be modified to handle multiple artifacts
create-release:
Expand All @@ -40,6 +47,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: zvm-artifacts
path: artifacts/

- name: List artifacts
Expand Down

0 comments on commit e3a46e1

Please sign in to comment.