Build

workflow build

Compiles a KSP mod and uploads the results as a workflow artifact. It’s meant to be suitable for continuous integration builds, as it simply compiles whatever is in the repository without updating version numbers etc.

For details:

Example

- uses: KSPModdingLibs/KSPBuildTools/.github/workflows/build.yml@0.1.0-alpha.1

Inputs

input build-configuration
Default:
Release
Type:
string
input artifacts
Default:
GameData LICENSE* README* CHANGELOG*
Type:
string
input ksp-zip-url
Default:
https://github.com/KSPModdingLibs/KSPLibs/raw/main/KSP-1.12.5.zip
Type:
string
input dependency-identifiers
Type:
string
input solution-file-path
Type:
string
input use-msbuild
Default:
True
Type:
boolean

If MSBuild should be used. If your mod has no msbuild project (e.g. a pure part mod) you should set this to false

input use-ckan
Default:
False
Type:
boolean

If CKAN should be installed to install dependencies in the msbuild project.

Secrets

secret ksp-zip-password
Required:
False