Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
contents: write
id-token: write # npm provenance
steps:
- uses: actions/checkout@v6
# Third-party actions are pinned to full commit SHAs (not mutable tags)
# because this job holds NPM_TOKEN, contents:write and id-token:write.
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

- name: Setup Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: latest
bun-version: "1.4.4"

- uses: actions/setup-node@v6
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: "20"
cache: "npm"
Expand Down Expand Up @@ -88,7 +90,7 @@ jobs:

- name: Upload artifacts (workflow_dispatch only)
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: cryptohopper-cli-binaries
path: |
Expand All @@ -101,7 +103,7 @@ jobs:

- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/cli-v')
uses: softprops/action-gh-release@v3
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
with:
name: ${{ github.ref_name }}
prerelease: ${{ contains(github.ref_name, '-alpha') || contains(github.ref_name, '-beta') || contains(github.ref_name, '-rc') }}
Expand Down
Loading