fix action
Some checks failed
Build Godot Project1 / godot (${PROJECT_NAME}.exe, windows) (push) Failing after 1m35s
Build Godot Project1 / godot (${PROJECT_NAME}.x86_64, linux) (push) Failing after 1m23s
Build Godot Project1 / godot (${PROJECT_NAME}.zip, mac) (push) Has been cancelled

This commit is contained in:
Teatov 2025-03-06 22:38:23 +10:00
parent 6751786488
commit ee8e5a9231

View File

@ -8,7 +8,7 @@ on:
env:
GODOT_VERSION: 4.4-stable
PROJECT_NAME: batrix
EXPORT_DIR: builds
EXPORT_DIR: build
jobs:
godot:
@ -58,12 +58,10 @@ jobs:
id: export
shell: bash
run: |
BUILD_PATH="${GITHUB_WORKSPACE}/${EXPORT_DIR}/"
echo "build=${BUILD_PATH}" >> $GITHUB_OUTPUT
echo "Building for ${{ matrix.preset }}"
cd "${GITHUB_WORKSPACE}"
~/godot-binary/godot --headless --export-release "${{ matrix.preset }}"
mkdir -p ${EXPORT_DIR}/${{ matrix.preset }}
~/godot-binary/godot --export-release "${{ matrix.preset }}" --headless ${EXPORT_DIR}/${{ matrix.preset }}/${{ matrix.export_file }}
echo "Build Done"
- name: Zip