Skip to content

Commit

Permalink
Merge pull request #29 from dotnet-easy/TimChen44-patch-5
Browse files Browse the repository at this point in the history
Update nuget_prod.yml
  • Loading branch information
TimChen44 authored Sep 16, 2023
2 parents 698d225 + 2971003 commit e7f7888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
dotnet build -c Release "EasyTool.Core/EasyTool.Core.csproj"
SUFFIX=`date "+%y%m%d%H%M%S"`
dotnet pack "EasyTool.Core/EasyTool.Core.csproj" /p:PackageVersion=$VERSION -c Release -o publish --no-build --no-restore
dotnet pack "EasyTool.Core/EasyTool.Core.csproj" /p:PackageVersion=${{vars.VERSION}} -c Release -o publish --no-build --no-restore
- name: Publish to Nuget ✔
run: |
dotnet nuget push publish/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

0 comments on commit e7f7888

Please sign in to comment.