Skip to content

Commit 9ac2389

Browse files
Create debug_dev_standalone.yml
1 parent 3c27156 commit 9ac2389

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build dotnet dev2
2+
on:
3+
push:
4+
workflow_dispatch:
5+
6+
concurrency:
7+
group: ${{ github.ref }}-dotnet_dev
8+
cancel-in-progress: true
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-22.04
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Compile Flames dotnet Dev build using mono
16+
shell: bash
17+
id: compile
18+
run: |
19+
msbuild Flames.sln /p:Configuration=Release
20+
cp -R bin/Release bin/Release_dev_dotnet
21+
msbuild Flames/Flames.csproj /p:Configuration=Release /p:DefineConstants="CORE;F_STANDALONE;F_DOTNET"
22+
23+
- uses: ./.github/actions/notify_failure_harmony
24+
if: ${{ always() && steps.compile.outcome == 'failure' }}
25+
with:
26+
NOTIFY_MESSAGE: 'Failed to compile Flames dotnet Dev build! <@999409543001931788>'
27+
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'
28+
29+
- uses: ./.github/actions/notify_success_harmony
30+
if: ${{ always() && steps.compile.outcome == 'success' }}
31+
with:
32+
SOURCE_FILE: 'bin/Release_dev_dotnet'
33+
DEST_NAME: 'Harmony'
34+
NOTIFY_MESSAGE: 'Successfully compiled Flames dotnet standalone Dev build.'
35+
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'

0 commit comments

Comments
 (0)