try something else to build the game

This commit is contained in:
ultrablob 2025-02-06 18:05:06 -05:00
parent 42e6881453
commit 78beac9009

View file

@ -16,6 +16,7 @@ on:
env:
GODOT_VERSION: "4.3"
GODOT_BUILD: "stable"
BUILD_TYPE: "{{ env.GITHUB_EVENT_NAME == "push" && "release" || "debug" }}"
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@ -57,7 +58,7 @@ jobs:
mkdir -v -p build/web
EXPORT_DIR="$(readlink -f build)"
cd $GITHUB_WORKSPACE
/usr/bin/godot --headless --verbose --export-${{ env.GITHUB_EVENT_NAME == "push" && "release" || "debug" }} "Web" "$EXPORT_DIR/web/index.html"
/usr/bin/godot --headless --verbose --export-$BUILD_TYPE "Web" "$EXPORT_DIR/web/index.html"
- name: Upload Build
uses: https://code.forgejo.org/forgejo/upload-artifact@v4