diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-28 15:39:24 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-28 21:13:01 +0200 |
commit | 45ec0e31c31b625ee8a56f6d2315af455172acc3 (patch) | |
tree | 0d891bed1c78674da054c07deebaf832b32a60fb /.github/actions | |
parent | 1ae8b2de38edd3f013226a88490cd3d4f83d2a61 (diff) |
Remove last editor code dependencies in template build
SConstruct change also makes it possible to outright delete the `editor`
folder in a `tools=no` build, which we use in CI to ensure no invalid
cross-dependencies are added.
Diffstat (limited to '.github/actions')
-rw-r--r-- | .github/actions/godot-build/action.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/actions/godot-build/action.yml b/.github/actions/godot-build/action.yml index 13d4abe2a7..e2dd0f7626 100644 --- a/.github/actions/godot-build/action.yml +++ b/.github/actions/godot-build/action.yml @@ -33,5 +33,6 @@ runs: SCONS_CACHE_LIMIT: ${{ inputs.scons-cache-limit }} run: | echo "Building with flags:" ${{ env.SCONSFLAGS }} + if ! ${{ inputs.tools }}; then rm -rf editor; fi # Ensure we don't include editor code. scons p=${{ inputs.platform }} target=${{ inputs.target }} tools=${{ inputs.tools }} tests=${{ inputs.tests }} --jobs=2 ${{ env.SCONSFLAGS }} ls -l bin/ |