Skip to content

Commit

Permalink
Upload nupkg-files to release.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Jan 14, 2023
1 parent e911d51 commit 32af070
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,12 @@ jobs:
if: ${{ needs.determinePublicationType.outputs.publishToNuget == 'true' }}

steps:
- uses: actions/download-artifact@v2
with:
name: NuGetPackages

- name: Draft release
id: create_release
uses: release-drafter/release-drafter@v5.17.6
with:
name: ExRam.Gremlinq ${{ needs.build.outputs.semVer2 }}
Expand All @@ -226,6 +231,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: '**/ExRam.*.nupkg'

- name: Send announcement tweet!
if: ${{ needs.build.outputs.isStableRelease == 'true' }}
uses: ethomson/send-tweet-action@v1
Expand Down

0 comments on commit 32af070

Please sign in to comment.