We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2310fe commit 343a7c8Copy full SHA for 343a7c8
1 file changed
.github/workflows/release.yml
@@ -86,7 +86,10 @@ jobs:
86
run: dotnet pack src/TSG/TSG.csproj -c Release -o artifacts -p:Version=${{ steps.ver.outputs.VERSION }}
87
88
- name: Push to NuGet
89
- run: dotnet nuget push artifacts/*.nupkg --api-key ${{ secrets.NUGET_TSG_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
+ shell: pwsh
90
+ run: |
91
+ $pkg = Get-ChildItem artifacts/*.nupkg | Select-Object -First 1
92
+ dotnet nuget push $pkg.FullName --api-key ${{ secrets.NUGET_TSG_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
93
94
- name: GitHub Release
95
uses: softprops/action-gh-release@v2
0 commit comments