Skip to content

Commit

Permalink
ci: test upload
Browse files Browse the repository at this point in the history
  • Loading branch information
huancheng-trili committed Jan 15, 2025
1 parent 98f9e6d commit 27b3509
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/cli-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ jobs:
run: nix --accept-flake-config develop -j auto --command sh -c '[ -z "$(cargo tree | grep blst)" ]'
- name: Build
run: nix --accept-flake-config --log-format raw -L build -j auto .#jstz_cli
- name: Upload CLI binary
id: upload-cli-bin
uses: actions/upload-artifact@v4
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
name: jstz-cli
path: result/bin/jstz
repo_name: huancheng-trili/test-cli
# A personal access token for the GitHub repository in which the release will be created and edited.
# It is recommended to create the access token with the following scopes: `repo, user, admin:repo_hook`.
repo_token: ${{ secrets.TEST_RELEASE }}
file: result/bin/jstz
asset_name: jstz
tag: ${{ github.event.pull_request.head.sha || github.sha }}
overwrite: true
body: "Test release"

0 comments on commit 27b3509

Please sign in to comment.