Skip to content

Allow PrefabOverrideFixes to be disabled #76

Allow PrefabOverrideFixes to be disabled

Allow PrefabOverrideFixes to be disabled #76

Workflow file for this run

on: push
name: CI
jobs:
build:
uses: BattletechModders/ModTek/.github/workflows/mod-builder.yml@master
with:
checkout-directory: 'BATTLETECH/Mods/CustomComponents'
build-script: |
(
cd source
cp -a Directory.Build.props.template Directory.Build.props
sed -i "s|<BattleTechGameDir>.*</BattleTechGameDir>|<BattleTechGameDir>$BATTLETECH_DIR</BattleTechGameDir>|" Directory.Build.props
dotnet build -c Release
dotnet test
)
(
cd ..
7z a -tzip -mx9 "$DIST_DIR/CustomComponents.zip" \
CustomComponents/ \
ModTek/Injectors/*.CustomComponents.xml \
-xr!CCTestMod \
-xr!source "-xr!.*"
)
release-notes: |
Requires ModTek to be up-to-date.
CustomComponents.zip contains the mod.
secrets: inherit