Skip to content

ci: build and upload cli binary #19

ci: build and upload cli binary

ci: build and upload cli binary #19

Workflow file for this run

name: Build npm package for jstz CLI
on:
# For manually rebuilding the images
pull_request:
jobs:
build-cli-mac:
name: Build CLI for MacOS Arm64
runs-on: macos
steps:
- uses: jstz-dev/jstz/.github/actions/build-cli@huanchengchang-jstz-275
with:
kind: macos_arm64
build-cli-linux:
name: Build CLI for Linux AMD64
runs-on: test
steps:
- uses: jstz-dev/jstz/.github/actions/build-cli@huanchengchang-jstz-275
with:
kind: linux_amd64
last:
needs: [build-cli-mac, build-cli-linux]
runs-on: ubuntu-latest
steps:
- name: Final
env:
link_macos: ${{needs.build-cli-mac.outputs.browser_download_url}}
link_linux: ${{needs.build-cli-linux.outputs.browser_download_url}}
run: |
echo "Links: $link_macos $link_linux"