Skip to content

updated csproj

updated csproj #62

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: |
CustomComponents.zip contains the mod
Requires ModTek v4.3 or later.
secrets: inherit