Skip to content

Commit

Permalink
ci: add artifacts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingyu521 committed Dec 22, 2024
1 parent c30e12a commit d46e294
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,28 @@ jobs:
with:
fetch-depth: 0

- uses: pnpm/action-setup@v4
name: setup pnpm
with:
version: 9
run_install: false

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

- run: pnpm install

- run: pnpm run zip

- name: Upload release binaries
uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
asset_paths: '["./output/*.zip"]'

0 comments on commit d46e294

Please sign in to comment.