Skip to content

Commit 7fb8e57

Browse files
committed
Run restore before build
1 parent 2a8b761 commit 7fb8e57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-nuget.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
run: |
168168
cd ${{ github.workspace }}/src/NetSparkle.UI.WinForms.NetFramework
169169
msbuild NetSparkle.UI.WinForms.NetFramework.csproj -t:clean /property:Configuration=Release
170+
msbuild NetSparkle.UI.WinForms.NetFramework.csproj /property:Configuration=Release /t:Restore
170171
msbuild NetSparkle.UI.WinForms.NetFramework.csproj /property:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg
171172
msbuild -t:pack /property:Configuration=Release /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg
172173
nuget push *.nupkg -Source https://api.nuget.org/v3/index.json -SkipDuplicate -verbosity detailed

0 commit comments

Comments
 (0)