File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,13 +24,20 @@ jobs:
2424 uses : actions/setup-dotnet@v4
2525 with :
2626 dotnet-version : |
27+ 9.0.x
2728 8.0.x
2829 - name : Restore dependencies
2930 run : dotnet restore
3031 - name : Build
3132 run : dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}-prerelease.${{ github.event.inputs.increment }}
3233 - name : Test
3334 run : dotnet test --no-build --verbosity normal --configuration Release
35+ - name : Upload a Build Artifact NET9
36+ uses : actions/upload-artifact@v4.3.1
37+ with :
38+ name : RGB.NET-NET9
39+ path : bin/net9.0/RGB.NET.*.dll
40+ if-no-files-found : error
3441 - name : Upload a Build Artifact NET8
3542 uses : actions/upload-artifact@v4.3.1
3643 with :
Original file line number Diff line number Diff line change 1515 uses : actions/setup-dotnet@v4
1616 with :
1717 dotnet-version : |
18+ 9.0.x
1819 8.0.x
1920 - name : Restore dependencies
2021 run : dotnet restore
Original file line number Diff line number Diff line change @@ -20,13 +20,20 @@ jobs:
2020 uses : actions/setup-dotnet@v4
2121 with :
2222 dotnet-version : |
23+ 9.0.x
2324 8.0.x
2425 - name : Restore dependencies
2526 run : dotnet restore
2627 - name : Build
2728 run : dotnet build --no-restore --configuration Release /p:Version=${{ github.event.inputs.version }}
2829 - name : Test
2930 run : dotnet test --no-build --verbosity normal --configuration Release
31+ - name : Upload a Build Artifact NET9
32+ uses : actions/upload-artifact@v4.3.1
33+ with :
34+ name : RGB.NET-NET9
35+ path : bin/net9.0/RGB.NET.*.dll
36+ if-no-files-found : error
3037 - name : Upload a Build Artifact NET8
3138 uses : actions/upload-artifact@v4.3.1
3239 with :
4451 with :
4552 tag_name : v${{ github.event.inputs.version }}
4653 generate_release_notes : true
47- files : bin/net8 .0/RGB.NET.*.dll
54+ files : bin/net9 .0/RGB.NET.*.dll
4855 - name : Nuget Push
4956 run : dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments