Skip to content

Commit

Permalink
refactor: migrate to softprops/action-gh-release@v2 action
Browse files Browse the repository at this point in the history
  • Loading branch information
freitzzz committed Nov 18, 2024
1 parent f7512f7 commit 1995f17
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Build binaries to dist/
- name: Build binaries
run: |
./tools/build master
./tools/build node
- name: Create GitHub Release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
with:
name: Release ${{ steps.get_version.outputs.version }}
tag_name: ${{ steps.get_version.outputs.version }}
release_name: Release ${{ steps.get_version.outputs.version }}
files: dist/*
draft: false
prerelease: true

- name: Upload Release Assets
uses: actions/upload-release-asset@v1
if: steps.create-release.conclusion == 'success'
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: dist/*

0 comments on commit 1995f17

Please sign in to comment.