Skip to content

Commit

Permalink
chore: archive executables as tar.gz (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
danewalters authored Apr 30, 2024
1 parent 1bf7e40 commit 4219959
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ jobs:
with:
deno-version: "v1.x"

- name: Build jcli
- name: Build and Archive jcli
run: |
for i in x86_64-unknown-linux-gnu x86_64-apple-darwin aarch64-apple-darwin aarch64-unknown-linux-gnu
do
deno compile -A --target $i -o jcli-$i main.ts
deno compile -A --target $i -o jcli main.ts
tar -czf jcli-$i.tar.gz --remove-files jcli
done
- name: Release jcli
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
jcli-x86_64-unknown-linux-gnu
jcli-x86_64-apple-darwin
jcli-aarch64-apple-darwin
jcli-aarch64-unknown-linux-gnu
jcli-x86_64-unknown-linux-gnu.tar.gz
jcli-x86_64-apple-darwin.tar.gz
jcli-aarch64-apple-darwin.tar.gz
jcli-aarch64-unknown-linux-gnu.tar.gz

0 comments on commit 4219959

Please sign in to comment.