Skip to content

Commit 60006e2

Browse files
committed
Upload to nuget on release
1 parent 5ee8e1d commit 60006e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262

6363
- name: Create release package
6464
run: |
65-
dotnet pack -c RELEASE -p:${{ github.event.inputs.versionIncrement }} -o ${GITHUB_WORKSPACE}/packages
65+
dotnet pack -c RELEASE -p:PackageVersion=${{ github.event.inputs.versionIncrement }} -o ${GITHUB_WORKSPACE}/packages
6666
6767
- name: Upload to nuget
6868
run: |
69-
echo "Upload version ${{ github.event.inputs.versionIncrement }} to nuget"
69+
dotnet nuget push ${GITHUB_WORKSPACE}/packages/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols

0 commit comments

Comments
 (0)