Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teacher-zhou committed Jun 20, 2023
1 parent 4ce80cf commit 81291a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
run: |
VERSION=`git describe --tags`
echo "Publishing Version: ${VERSION}"
dotnet build
dotnet pack ./src/TDesign/TDesign.csproj -c release -o ./pack -p:PackageVersion=$Version
dotnet build ./src/TDesign/TDesign.csproj -c release
dotnet pack ./src/TDesign/TDesign.csproj -c release -o ./pack -p:PackageVersion=${Version}
dotnet nuget push './pack/*.nupkg' -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate

0 comments on commit 81291a0

Please sign in to comment.