Skip to content

Commit c773e32

Browse files
authored
Update release.yml
1 parent 3a8b390 commit c773e32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
name: prerelease
2-
#on: [push, pull_request]
1+
name: release
32
on:
43
release:
54
types: [published]
@@ -16,7 +15,7 @@ jobs:
1615
shell: bash
1716
- run: echo ${{ steps.get_version.outputs.VERSION }}
1817
- run: dotnet pack src/NetMQ/NetMQ.csproj -o . -c Release /p:PackageVersion=${{ steps.get_version.outputs.VERSION }} /p:Version=${{ steps.get_version.outputs.VERSION }}
19-
- run: dotnet nuget push NetMQ.${{ steps.get_version.outputs.VERSION }}.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
18+
- run: dotnet nuget push *.nupkg -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
2019
env:
2120
NUGET_API_KEY: ${{ secrets.NuGetAPIKey }}
2221
shell: bash

0 commit comments

Comments
 (0)