Skip to content

Commit

Permalink
Fix incorrect NuGet output path in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yaakov-h committed Jul 13, 2020
1 parent 7c7f10b commit d34cb2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/steamkit2-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: SteamKit2-${{ github.event.release.tag_name }}.nupkg
path: 'SteamKit2/SteamKit2/bin/Release/SteamKit2-${{ github.event.release.tag_name }}.nupkg'
path: 'SteamKit2/SteamKit2/bin/Release/SteamKit2.${{ github.event.release.tag_name }}.nupkg'

- name: Upload NuGet Package to GitHub Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: 'SteamKit2/SteamKit2/bin/Release/SteamKit2-${{ github.event.release.tag_name }}.nupkg'
asset_path: 'SteamKit2/SteamKit2/bin/Release/SteamKit2.${{ github.event.release.tag_name }}.nupkg'
asset_name: SteamKit-${{ github.event.release.tag_name }}.nupkg
asset_content_type: application/zip

- name: Publish NuGet Package to NuGet Gallery
run: |
nuget setapikey ${{ secrets.NUGET_API_KEY }}
nuget push SteamKit2/SteamKit2/bin/Release/SteamKit2-${{ github.event.release.tag_name }}.nupkg
nuget push SteamKit2/SteamKit2/bin/Release/SteamKit2.${{ github.event.release.tag_name }}.nupkg

0 comments on commit d34cb2f

Please sign in to comment.