2222jobs :
2323 build :
2424 if : github.event_name == 'push' && contains(toJson(github.event.commits), '***NO_CI***') == false && contains(toJson(github.event.commits), '[ci skip]') == false && contains(toJson(github.event.commits), '[skip ci]') == false
25- strategy :
26- matrix :
27- os : [ubuntu-latest, windows-latest, macos-latest]
28- dotnet : ['8.0.x', '9.0.x']
29- runs-on : ${{ matrix.os }}
25+ runs-on : ubuntu-latest
3026 env :
3127 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
3228 DOTNET_CLI_TELEMETRY_OPTOUT : 1
@@ -43,30 +39,27 @@ jobs:
4339 - name : setup .net core sdk
4440 uses : actions/setup-dotnet@v4
4541 with :
46- dotnet-version : ${{ matrix.dotnet }}
42+ dotnet-version : |
43+ 8.0.x
44+ 9.0.x
4745
4846 - name : dotnet build
4947 run : dotnet build solrevdev.seedfolder.sln --configuration Release
5048
51- - name : run integration tests (linux/mac)
52- if : matrix.os != 'windows-latest'
49+ - name : run integration tests
5350 run : ./tests/integration-test.sh
5451
55- - name : run integration tests (windows)
56- if : matrix.os == 'windows-latest'
57- run : powershell -File tests/integration-test.ps1
58-
5952 - name : dotnet pack
6053 run : dotnet pack solrevdev.seedfolder.sln -c Release --no-build --include-source --include-symbols
6154
6255 - name : setup nuget
63- if : github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && matrix.dotnet == '8.0.x'
56+ if : github.event_name == 'push' && github.ref == 'refs/heads/master'
6457 uses : nuget/setup-nuget@v1
6558 with :
6659 nuget-version : latest
6760
6861 - name : Publish NuGet
69- if : github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' && matrix.dotnet == '8.0.x'
62+ if : github.event_name == 'push' && github.ref == 'refs/heads/master'
70637164 with :
7265 PROJECT_FILE_PATH : src/solrevdev.seedfolder.csproj # Relative to repository root
0 commit comments