Skip to content

Commit

Permalink
[WIP] Create tar archive of pack tools when uploading to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Dec 30, 2023
1 parent 3791441 commit 5ad370c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,18 @@ jobs:
- name: Prepare artifact
run: |
mkdir -p artifacts/brioche/x86_64-linux/
mkdir -p artifacts/brioche-pack/x86_64-linux/
cp \
target/x86_64-unknown-linux-gnu/release/brioche \
artifacts/brioche/x86_64-linux/
cp \
target/x86_64-unknown-linux-musl/release-tiny/brioche-ld \
target/x86_64-unknown-linux-musl/release-tiny/brioche-packed-exec \
target/x86_64-unknown-linux-musl/release-tiny/brioche-packed-userland-exec \
target/x86_64-unknown-linux-musl/release-tiny/brioche-packer \
artifacts/brioche/x86_64-linux/
artifacts/brioche-pack/x86_64-linux/
(cd artifacts/brioche-pack/x86_64-linux/ && tar --zstd -cf ../../brioche/x86_64-linux/brioche-pack.tar.zstd .)
tree -h artifacts/brioche-pack
tree -h artifacts/brioche
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5ad370c

Please sign in to comment.