File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1010
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414 with :
1515 fetch-depth : 0
1616 submodules : true
@@ -33,16 +33,16 @@ jobs:
3333 core.exportVariable('VER_SUF', ver_suf);
3434
3535 - name : Install dotnet
36- uses : actions/setup-dotnet@v3
36+ uses : actions/setup-dotnet@v4
3737 with :
3838 dotnet-version : ' 8.x'
3939 dotnet-quality : ' ga'
4040
4141 - name : dotnet restore
42- run : dotnet restore
42+ run : dotnet restore --configuration Release
4343
4444 - name : dotnet test
45- run : dotnet test
45+ run : dotnet test --configuration Release
4646
4747 - name : " dotnet pack: ${{ env.VER_STR }}"
4848 run : dotnet pack Src/RT.CommandLine.csproj --configuration Release -p:InformationalVersion="${{env.VER_STR}}" -p:VersionPrefix=${{env.VER_NUM}} -p:VersionSuffix=${{env.VER_SUF}} -p:FileVersion=${{env.VER_NUM}} -p:AssemblyVersion=${{env.VER_NUM}} -o Publish
5151 run : dotnet nuget push Publish/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
5252
5353 - name : Upload artifact
54- uses : actions/upload-artifact@v3
54+ uses : actions/upload-artifact@v4
5555 with :
5656 name : RT.CommandLine-v${{env.VER_NUM}}
5757 path : Publish
You can’t perform that action at this time.
0 commit comments