Skip to content

Commit

Permalink
Merge pull request #15 from zcsizmadia/fix-output-pack-issue
Browse files Browse the repository at this point in the history
Fix obsolete output arg for packing
  • Loading branch information
zcsizmadia authored Feb 19, 2023
2 parents d7ae666 + a36ef9e commit 75771a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
VERSION="${vertag[2]}"
[[ "${VERSION:0:1}" == "v" ]] && VERSION="${VERSION:1}"
[[ "$VERSION" =~ ^[1-9][0-9]*\.[0-9]+\.[0-9]+(-[a-z0-9]+\.[0-9]+|)$ ]] || (echo "Incorrect version! ($VERSION)"; exit 1)
dotnet pack -c Release -p:PackageVersion="$VERSION" -o nupkg
dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}}
dotnet pack -c Release -p:PackageVersion="$VERSION" -o nupkg src/ZCS.DataContractResolver/ZCS.DataContractResolver.csproj
dotnet nuget push ./nupkg/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}}

0 comments on commit 75771a4

Please sign in to comment.