File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CI
1+ name : Build & Test
22
33on :
4- push :
5- branches : [main, master]
6- pull_request :
7- branches : [main, master]
4+ workflow_dispatch :
85
96env :
107 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
1310
1411jobs :
1512 build :
13+ name : Build (${{ matrix.os }})
1614 runs-on : ${{ matrix.os }}
1715
1816 strategy :
@@ -28,11 +26,11 @@ jobs:
2826 with :
2927 dotnet-version : ' 9.0.x'
3028
31- - name : Restore dependencies
29+ - name : Restore
3230 run : dotnet restore
3331
3432 - name : Build
3533 run : dotnet build --configuration Release --no-restore
3634
37- - name : Pack (verify packaging works)
35+ - name : Pack
3836 run : dotnet pack src/ObsKit.NET/ObsKit.NET.csproj --configuration Release --no-build --output ./nupkg
Original file line number Diff line number Diff line change 1- name : Release to NuGet
1+ name : Publish to NuGet
22
33on :
44 workflow_dispatch :
1414 DOTNET_CLI_TELEMETRY_OPTOUT : 1
1515
1616jobs :
17- release :
17+ publish :
18+ name : Build, Pack & Publish
1819 runs-on : ubuntu-latest
1920 permissions :
2021 contents : write
2829 with :
2930 dotnet-version : ' 9.0.x'
3031
31- - name : Restore dependencies
32+ - name : Restore
3233 run : dotnet restore
3334
3435 - name : Build
You can’t perform that action at this time.
0 commit comments