Setup CKAN#

action setup-ckan#

Installs CKAN and sets up a KSP installation

Example

- uses: KSPModdingLibs/KSPBuildTools/.github/actions/setup-ckan@1.1.0

Inputs

input ckan-install-method#
Default:
apt

Method of installing CKAN. Can be set to ‘apt’ to install from the official .deb file, or ‘skip’ to skip installation if your runner already has CKAN installed.

input ckan-version#

CKAN tag to install. set to an empty string to always install the most recent version. See the CKAN releases page for a list of available tags

input ckan-repo#
Default:
https://github.com/KSP-CKAN/CKAN

HOST/OWNER/REPO of the CKAN github repository to pull from. Defaults to the mainline version

input ckan-compatible-versions#
Default:
1.12 1.11 1.10 1.9 1.8

KSP versions to mark as compatible. newline-separated.

input ckan-filters#
Default:
.dds .png .bmp .mu .mbm .jpg .wav

File globs to ignore when installing mods. Newline-separated. Defaults to most large asset files included in mods. Set to an empty string if you need the entire mod installed for bundling.

Environment Variables

env KSP_ROOT#

The path to use as the root of a KSP instance for CKAN to set-up. If not set, /tmp/ksp is used instead.