File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,13 @@ jobs:
1010 runs-on : windows-latest
1111 steps :
1212 - name : checkout project
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414
1515 - name : setup msbuild
16- uses : microsoft/setup-msbuild@v1
16+ uses : microsoft/setup-msbuild@v2
1717
1818 - name : setup nuget
19- 20- env :
21- ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
19+ uses : NuGet/setup-nuget@v2
2220
2321 - name : setup cppwinrt
2422 run : nuget restore test.sln
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ jobs:
1010 runs-on : windows-latest
1111 steps :
1212 - name : checkout project
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414
1515 - name : setup msbuild
16- uses : microsoft/setup-msbuild@v1
16+ uses : microsoft/setup-msbuild@v2
1717
1818 - name : setup nuget
19- uses : NuGet/setup-nuget@v1.0.2
20- env :
21- ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true '
19+ uses : NuGet/setup-nuget@v2
20+ with :
21+ nuget-api-key : ${{ secrets.NUGET_API_KEY }}
2222
2323 - name : setup cppwinrt
2424 run : nuget restore test.sln
3636 run : nuget.exe pack TestComponent/TestComponent.nuspec -OutputFileNamesWithoutVersion
3737
3838 - name : nuget push
39- run : nuget push PyWinRT.TestWinRT.nupkg ${{ secrets.NUGET_KEY }} -Source nuget.org
39+ run : nuget push PyWinRT.TestWinRT.nupkg -Source nuget.org
You can’t perform that action at this time.
0 commit comments