@@ -10,13 +10,17 @@ inputs:
10
10
default : Release
11
11
description : The project configuration to build.
12
12
13
+ dotnet-version :
14
+ default : 5.x
15
+ description : Version of dotnet compiler to use. Defaults to 5.x.
16
+
13
17
ksp-zip-url :
14
18
default : https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
15
19
description : >
16
- A url for a zip file that contains the assemblies from the game to link against. This should either be stripped
20
+ A url for a zip file that contains the assemblies from the game to link against. This should either be stripped
17
21
so that it only contains public interfaces, or encrypted so that the libraries are not being redistributed unprotected.
18
22
19
- Defaults to KSP 1.12.5 with stripped versions
23
+ Defaults to KSP 1.12.5 with stripped versions
20
24
of the libraries which should be suitable for most users. It does not require a password.
21
25
22
26
ksp-zip-password :
@@ -25,7 +29,7 @@ inputs:
25
29
26
30
solution-file-path :
27
31
description : >
28
- The path to the solution file to build. Defaults to empty, which will invoke `msbuild` on the root directory of
32
+ The path to the solution file to build. Defaults to empty, which will invoke `msbuild` on the root directory of
29
33
the repo and builds any `*.sln` file it finds there.
30
34
31
35
working-directory :
54
58
- name : Setup .NET
55
59
uses : actions/setup-dotnet@v4
56
60
with :
57
- dotnet-version : 5.x
61
+ dotnet-version : ${{ inputs.dotnet-version }}
58
62
59
63
- name : Download KSP Libs
60
64
shell : bash
71
75
shell : bash
72
76
working-directory : ${{ inputs.working-directory }}
73
77
run : |
74
- msbuild -p:Configuration=${{ inputs.build-configuration }} \
78
+ dotnet msbuild -p:Configuration=${{ inputs.build-configuration }} \
75
79
-p:ManagedRelativePath=KSP_x64_Data/Managed ${{ inputs.solution-file-path }} \
76
80
${{ runner.debug && '-v:detailed' }}
0 commit comments