Skip to content

Commit

Permalink
Update actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Jun 24, 2024
1 parent 81ce6a1 commit 7959405
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/actions/godot-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7959405

Please sign in to comment.