From 0b02372a6940381f844cb0cb5d40114882be96e0 Mon Sep 17 00:00:00 2001 From: pederhan Date: Fri, 16 Aug 2024 15:18:50 +0200 Subject: [PATCH] Fix GitHub release workflow --- .github/workflows/build.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10ba2953..72250fd4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,22 +99,11 @@ jobs: merge-multiple: true - name: Create GitHub release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 with: + files: dist/* tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} body: | Release notes for ${{ github.ref }} draft: false prerelease: false - - - name: Upload release asset - id: upload-release-asset - uses: softprops/action-gh-release@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - files: dist/*