Skip to content

fix: Remove AutoSave when NewGame start #14

fix: Remove AutoSave when NewGame start

fix: Remove AutoSave when NewGame start #14

Workflow file for this run

name: CMake
on:
push:
tags:
- "**"
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ilammy/[email protected]
with:
arch: x86
- name: Cache bin
id: cache-bin
uses: actions/cache@v4
with:
path: bin
key: ${{ runner.os }}-bin
- name: Create bin folder
if: steps.cache-bin.outputs.cache-hit != 'true'
run: |
mkdir bin
cd bin
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ../
mkdir output_SA
- name: Compile
run: |
cd bin
ninja
cp TrilogyChaosMod.SA.asi output_SA/TrilogyChaosMod.SA.asi
- name: Upload SA
uses: actions/upload-artifact@v4
with:
name: "TrilogyChaosMod.SA"
path: bin/output_SA
- name: Zip
uses: vimtor/[email protected]
with:
files: bin/output_SA resources/
dest: SA-CHAOS.zip
- name: Upload Release
uses: ncipollo/[email protected]
with:
allowUpdates: "true"
artifacts: "SA-CHAOS.zip"
token: ${{ secrets.GITHUB_TOKEN }}