diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 827405a..72de8d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/*