From 4da2364db4edf3af27396bd9413dc9f943587c4f Mon Sep 17 00:00:00 2001 From: Hans <11695964+hupling@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:23:43 +0100 Subject: [PATCH] Update npm-release.yml --- .github/workflows/npm-release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index dbfdc7e..aa41ac4 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -73,3 +73,21 @@ jobs: registry-username: ${{ github.actor }} image-tags: | type=semver,pattern={{version}},value=${{ needs.release.outputs.VERSION }} + create-github-release: + needs: release + runs-on: ubuntu-latest + steps: + - name: Download a single artifact + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + with: + name: ${{ needs.release.outputs.ARTIFACT_NAME }} + - name: Create GitHub Release + id: create_release + uses: softprops/action-gh-release@7b4da11513bf3f43f9999e90eabced41ab8bb048 # v2.2.0 + with: + tag_name: ${{ needs.release.outputs.VERSION }} + draft: false + prerelease: false + generate_release_notes: false + files: | + ${{ github.event.inputs.app-path }}/dist