Skip to content

Commit

Permalink
Update npm-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hupling authored Dec 17, 2024
1 parent 0940872 commit 4da2364
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4da2364

Please sign in to comment.