Skip to content

Commit

Permalink
Run restore before build
Browse files Browse the repository at this point in the history
  • Loading branch information
Deadpikle committed Jan 27, 2025
1 parent 2a8b761 commit 7fb8e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ jobs:
run: |
cd ${{ github.workspace }}/src/NetSparkle.UI.WinForms.NetFramework
msbuild NetSparkle.UI.WinForms.NetFramework.csproj -t:clean /property:Configuration=Release
msbuild NetSparkle.UI.WinForms.NetFramework.csproj /property:Configuration=Release /t:Restore
msbuild NetSparkle.UI.WinForms.NetFramework.csproj /property:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg
msbuild -t:pack /property:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg
nuget push *.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -verbosity detailed
Expand Down

0 comments on commit 7fb8e57

Please sign in to comment.