GH: Fix linux mono templates fail to build

This commit is contained in:
Serhii Snitsaruk 2023-07-28 19:47:41 +02:00
parent 571d83c6a6
commit cc50054b72
1 changed files with 3 additions and 2 deletions

View File

@ -141,13 +141,13 @@ jobs:
# .NET glue
- name: Generate C# glue
if: ${{ matrix.build-mono }}
if: ${{ matrix.build-mono }} && ${{ matrix.target }} == 'editor'
run: |
${{ matrix.bin }} --headless --generate-mono-glue ./modules/mono/glue || true
# .NET solutions
- name: Build .NET solutions
if: ${{ matrix.build-mono }}
if: ${{ matrix.build-mono }} && ${{ matrix.target }} == 'editor'
run: |
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir=./bin --godot-platform=linuxbsd
@ -157,3 +157,4 @@ jobs:
name: ${{matrix.bin}}
path: bin/*