Build Normal #279
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Normal | |
| on: | |
| push: | |
| workflow_dispatch: | |
| schedule: | |
| # Every day at 12am | |
| - cron: '0 0 * * *' | |
| concurrency: | |
| group: ${{ github.ref }}-Normal | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Compile Flames using mono | |
| shell: bash | |
| id: compile | |
| run: | | |
| msbuild Flames.sln /p:Configuration=Release | |
| cp -R bin/Release bin/Release_normal | |
| rm bin/Release/Flames_.dll | |
| msbuild Flames/Flames.csproj /p:Configuration=Release /p:DefineConstants="" | |
| - uses: ./.github/actions/notify_failure | |
| if: ${{ always() && steps.compile.outcome == 'failure' }} | |
| with: | |
| NOTIFY_MESSAGE: 'Failed to compile Flames .NET build! <@999409543001931788>' | |
| WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}' | |
| - uses: ./.github/actions/notify_success | |
| if: ${{ always() && steps.compile.outcome == 'success' }} | |
| with: | |
| SOURCE_FILE: 'bin/Release_normal' | |
| DEST_NAME: 'Flames' | |
| NOTIFY_MESSAGE: 'Successfully compiled Flames .NET build.' | |
| WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}' | |
| DELETE_AFTER: '1' |