Skip to content

Commit

Permalink
Update deploy-pack.yml
Browse files Browse the repository at this point in the history
Add step to upload the change to github.
  • Loading branch information
andy840119 authored Jul 28, 2024
1 parent bd95bf4 commit 7f3df74
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,18 @@ jobs:
- name: Deploy
run: |
dotnet nuget push ${{github.workspace}}/artifacts/*.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_AUTH_TOKEN}}
# upload the change to the github release page.
- name: Upload Release Asset
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.RELEASE_TOKEN }}
files: |
${{github.workspace}}/artifacts/*.nupkg
draft: true
body: |
Thank you for using this package. This is a tagged release (${{ env.CURRENT_TAG }}).
- name: Generate changelog
run: |
sudo npm install github-release-notes -g
gren release -T ${{secrets.RELEASE_TOKEN}} --tags=${{env.CURRENT_TAG}} --override

0 comments on commit 7f3df74

Please sign in to comment.