Upload gz assets

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët 2025-01-17 10:32:43 +01:00
parent d69b5af2f0
commit 77338119ee

View file

@ -26,7 +26,8 @@ jobs:
x86_64-linux-musl \
x86_64-macos-none
do
zig cc -target "$target" -s -o secret-${target%-*}.bin secret.c
zig cc -target "$target" -Os -s -o secret-${target%-*} secret.c
gzip -9 secret-${target%-*}
done
- name: Release
@ -41,7 +42,7 @@ jobs:
- name: Upload
run: |
for file in secret-*.bin
for file in secret-*.gz
do
gh release upload "${{ github.ref_name }}" "$file" --repo "${{ github.repository }}"
done