Skip to content

Commit

Permalink
Fix push command
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Mar 1, 2023
1 parent fb73747 commit 8564be1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ jobs:
PACKAGE_PATH="${GITHUB_WORKSPACE}/artifacts"
echo "$VERSION"
dotnet pack --property:PackageOutputPath=$PACKAGE_PATH --configuration Release -p:Version=$VERSION
- name: Push with dotnet
run: dotnet nuget push "${PACKAGE_PATH}/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push "artifacts/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit 8564be1

Please sign in to comment.