Skip to content

feat: jcli upgrade command (#49) #8

feat: jcli upgrade command (#49)

feat: jcli upgrade command (#49) #8

Workflow file for this run

name: Release
on:
push:
tags:
- "**"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: "v1.x"
- 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 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.tar.gz
jcli-x86_64-apple-darwin.tar.gz
jcli-aarch64-apple-darwin.tar.gz
jcli-aarch64-unknown-linux-gnu.tar.gz