Skip to content

Merge pull request #1 from SuperNova-DeadNova/debug #1

Merge pull request #1 from SuperNova-DeadNova/debug

Merge pull request #1 from SuperNova-DeadNova/debug #1

Workflow file for this run

name: Build Dev TLI
on:
push:
workflow_dispatch:
schedule:
# Every day at 1am
- cron: '0 1 * * *'
concurrency:
group: ${{ github.ref }}-Dev-TLI
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Compile Flames Dev TLI build using mono
shell: bash
id: compile
run: |
msbuild FlamesTLI.sln /p:Configuration=Release
cp -R bin/Release bin/Release_dev_TLI
rm bin/Release/FlamesTLI_.dll
msbuild FlamesTLI/Flames_TLI.csproj /p:Configuration=Release /p:DefineConstants="CORE%3BFLAMES_TLI"
- uses: ./.github/actions/notify_failure_harmony
if: ${{ always() && steps.compile.outcome == 'failure' }}
with:
NOTIFY_MESSAGE: 'Failed to compile Flames .NET Dev TLI build! <@999409543001931788>'
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
- uses: ./.github/actions/notify_success
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'bin/Release_dev_TLI'
DEST_NAME: 'Harmony'
NOTIFY_MESSAGE: 'Successfully compiled Flames .NET Dev TLI build.'
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
DELETE_AFTER: '1'