Skip to content

Replaced IAfterLoad with IOnLoaded to remove unnecessary dependency o… #57

Replaced IAfterLoad with IOnLoaded to remove unnecessary dependency o…

Replaced IAfterLoad with IOnLoaded to remove unnecessary dependency o… #57

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" \
-ir!CustomComponents \
-xr!CCTestMod \
-xr!source "-xr!.*"
)
release-notes: |
Requires ModTek V4 or later
- CustomComponents.zip contains the compiled framework
secrets: inherit