File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ inputs:
1010 default : Release
1111 description : The project configuration to build.
1212
13- dotnet-version :
14- default : 5.x
15- description : Version of dotnet compiler to use. Defaults to 5.x.
16-
1713 ksp-zip-url :
1814 default : https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
1915 description : >
6157 shell : bash
6258 run : echo 'KSP_ROOT=${{ '/tmp/ksp' }}' >> "$GITHUB_ENV"
6359
64- - name : Setup .NET
65- uses : actions/setup-dotnet@v4
66- with :
67- dotnet-version : ${{ inputs.dotnet-version }}
68-
6960 - name : Download KSP Libs
7061 shell : bash
7162 run : |
Original file line number Diff line number Diff line change 2828 description : >
2929 Set to true if your project uses a packages.config file instead of packagereferences. This will cause the job
3030 to run on the Ubuntu-22.04 image instead of Ubuntu-24.04
31+ dotnet-version :
32+ type : string
33+ default : 8.x
34+ description : Version of dotnet compiler to use.
3135 use-ckan :
3236 type : boolean
3337 default : false
5054 with :
5155 submodules : true
5256
57+ - name : Setup .NET
58+ uses : actions/setup-dotnet@v4
59+ with :
60+ dotnet-version : ${{ inputs.dotnet-version }}
61+
5362 # Install CKAN and set up an instance
5463 - uses : KSPModdingLibs/KSPBuildTools/.github/actions/setup-ckan@0.0.4
5564 if : ${{ (inputs.use-ckan && inputs.use-msbuild) || inputs.dependency-identifiers }}
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-22.04
1313 steps :
1414 - uses : actions/checkout@v4
15+
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v4
18+ with :
19+ dotnet-version : ' 8.x'
1520
1621 - uses : ./.github/actions/setup-ckan
1722
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ jobs:
1717 build :
1818 strategy :
1919 matrix :
20- dotnet-version : [ 5 .x, 7 .x, 9.x ]
20+ dotnet-version : [ 7 .x, 8 .x, 9.x ]
2121 runs-on : ubuntu-24.04
2222 steps :
2323 - uses : actions/checkout@v4
2424
2525 - name : Setup .NET
2626 uses : actions/setup-dotnet@v4
2727 with :
28- dotnet-version : 8.0.x
28+ dotnet-version : ${{ matrix.dotnet-version }}
2929
3030 - name : Setup Nuget Package Sources
3131 run : |
4444 ksp-zip-url : https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
4545 working-directory : ${{ env.TESTDIR }}
4646 solution-file-path : plugin-mod-nuget.csproj
47- dotnet-version : ${{ matrix.dotnet-version }}
4847 env :
4948 KSPBuildToolsVersion : ${{ inputs.package-version }}
5049
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-24.04
1313 steps :
1414 - uses : actions/checkout@v4
15+
16+ - name : Setup .NET
17+ uses : actions/setup-dotnet@v4
18+ with :
19+ dotnet-version : ' 8.x'
1520
1621 - uses : ./.github/actions/setup-ckan
1722
You can’t perform that action at this time.
0 commit comments