added headless flag to build commands for linux and windows

This commit is contained in:
Damien Ostler 2024-01-06 23:31:13 -05:00
parent fb22497070
commit f34e926a6e

View File

@ -65,7 +65,7 @@ jobs:
run: mkdir -v -p build/linux run: mkdir -v -p build/linux
- name: Build for Linux - name: Build for Linux
run: godot -v --export-release "Linux/X11" --path . --output "build/linux/game.x86_64" run: godot -v --export-release --headless "Linux/X11" --path . --output "build/linux/game.x86_64"
- name: Zip Linux artifacts - name: Zip Linux artifacts
run: zip -r game_linux.zip build/linux run: zip -r game_linux.zip build/linux
@ -95,7 +95,7 @@ jobs:
run: mkdir -v -p build/windows run: mkdir -v -p build/windows
- name: Build for windows - name: Build for windows
run: godot -v --export-release "Windows Desktop" --path . --output "build/windows/game.x86_64" run: godot -v --export-release --headless "Windows Desktop" --path . --output "build/windows/game.x86_64"
- name: Zip Windows artifacts - name: Zip Windows artifacts
run: zip -r game_windows.zip build/windows run: zip -r game_windows.zip build/windows