Skip to content

Commit 37ca88d

Browse files
committed
ci: create zip outside store
1 parent 863fd75 commit 37ca88d

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,27 @@ jobs:
2020

2121
- name: Package Shepherd x86_64
2222
run: |
23-
mkdir -p out
23+
mkdir -p out/bin/x86_64
24+
cp -r result/bin/* out/bin/x86_64/
2425
(
25-
cd result/bin
26-
zip -r ../../out/shepherd-x86_64.zip .
26+
cd out/bin/x86_64
27+
zip -r ../../shepherd-x86_64.zip .
2728
)
2829
2930
- name: Build Shepherd aarch64
3031
run: nix build .#cross-aarch64
3132

3233
- name: Package Shepherd aarch64
3334
run: |
34-
mkdir -p out
35+
mkdir -p out/bin/aarch64
36+
cp -r result/bin/* out/bin/aarch64/
3537
(
36-
cd result/bin
37-
zip -r ../../out/shepherd-aarch64.zip .
38+
cd out/bin/aarch64
39+
zip -r ../../shepherd-aarch64.zip .
3840
)
3941
4042
- name: Create release
4143
uses: softprops/action-gh-release@v3
4244
with:
43-
files: out/*
45+
files: out/*.zip
4446
generate_release_notes: true

0 commit comments

Comments
 (0)