Skip to content

Build dev dotnet standalone #112

Build dev dotnet standalone

Build dev dotnet standalone #112

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