From 79594057296482e2c5ec165321357f65980c8f5f Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Mon, 24 Jun 2024 10:13:50 -0700 Subject: [PATCH] Update actions. --- .github/actions/godot-build/action.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/actions/godot-build/action.yml b/.github/actions/godot-build/action.yml index dfc6945c..7965cc02 100644 --- a/.github/actions/godot-build/action.yml +++ b/.github/actions/godot-build/action.yml @@ -50,11 +50,13 @@ runs: mkdir -p $WORKING_DIR/bin $WORKING_DIR/modules/mono/glue cd $WORKING_DIR/godot if [[ "${{ inputs.deploy }}" == "true" ]]; then - PLATFORM=${{ inputs.deploy-platform }} - TARGET=${{ inputs.deploy-platform-target }} + export PLATFORM=${{ inputs.deploy-platform }} + export TARGET=${{ inputs.deploy-platform-target }} + export ARCH=${{ inputs.deploy-arch }} else - PLATFORM=${{ inputs.platform }} - TARGET=${{ inputs.target }} + export PLATFORM=${{ inputs.platform }} + export TARGET=${{ inputs.target }} + export ARCH=${{ inputs.build-arch }} fi echo "Building with flags:" platform=$PLATFORM target=$TARGET tests=${{ inputs.tests }} ${{ env.SCONSFLAGS }} if [ "$TARGET" != "editor" ]; then rm -rf editor; fi # Ensure we don't include editor code.