-
Notifications
You must be signed in to change notification settings - Fork 34
29 lines (26 loc) · 1.21 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on:
push:
workflow_dispatch:
jobs:
build:
uses: ./.github/workflows/mod-builder.yml
with:
checkout-directory: 'ModTek'
build-script: |
dotnet build --verbosity normal --configuration Release -p:BattleTechGameDir="$BATTLETECH_DIR"
cd "$BATTLETECH_DIR"
rm -fr "BattleTech_Data/"
find . -type f -printf "%m:%p\n"
# set permissions and also check if files exist (chmod 644)
chmod 755 run.sh
chmod 644 winhttp.dll
chmod 644 Mods/ModTek/lib/*.dll
7z a -tzip -mx9 "$DIST_DIR/ModTek.zip" -ir!.
release-notes: |
> **Note**
> **ModTekInjector.exe was replaced by [UnityDoorstop](https://github.com/NeighTools/UnityDoorstop)**.
> Injectors must not be run manually, that is now done by the `ModTekPreloader` automatically during the games startup.
ModTek.zip contains the ModTek tools. Unzip the contents into your game's location, so that `winhttp.dll` appears in the same folder as `BattleTech.exe`.
See [Changes](https://github.com/BattletechModders/ModTek/blob/master/CHANGES.md) and [Readme](https://github.com/BattletechModders/ModTek/blob/master/README.md).
secrets: inherit