Allow PrefabOverrideFixes to be disabled #76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |