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