Skip to content

ci: build and upload cli binary #30

ci: build and upload cli binary

ci: build and upload cli binary #30

Workflow file for this run

name: Build npm package for jstz CLI
on:
push:
branches: [huanchengchang-jstz-275-1]
tags:
- "*"
jobs:
linux-arm64:
name: Build CLI for Linux Arm64
runs-on: [arm64, linux, nix]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
with:
targets: [wasm32-unknown-unknown, aarch64-unknown-linux-musl]

Check failure on line 17 in .github/workflows/cli-npm.yaml

View workflow run for this annotation

GitHub Actions / Build npm package for jstz CLI

Invalid workflow file

The workflow is not valid. .github/workflows/cli-npm.yaml (Line: 17, Col: 20): A sequence was not expected
- name: Build
shell: bash
run: make build-cli
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_name: huancheng-trili/test-cli
repo_token: ${{ secrets.TEST_RELEASE }}
file: target/release/jstz
asset_name: jstz_linux_arm64
tag: ${{ github.ref_name }}