Skip to content

Commit dec4437

Browse files
committed
Don't include submodule for one Linux workflow.
This is needed for the same reason that the submodules are not included in the static checks workflow, as the commit that includes the submodule is labeled as "dirty".
1 parent 2777f71 commit dec4437

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/linux_builds.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
bin: "./bin/godot.x11.opt.tools.64.mono"
2929
build-mono: true
3030
artifact: true
31+
submodules: recursive
3132

3233
- name: Editor and sanitizers (target=debug, tools=yes, use_asan=yes, use_ubsan=yes, linker=gold)
3334
cache-name: linux-editor-sanitizers
@@ -39,6 +40,7 @@ jobs:
3940
build-mono: false
4041
# Skip 2GiB artifact speeding up action.
4142
artifact: false
43+
submodules: false
4244

4345
- name: Template w/ Mono (target=release, tools=no)
4446
cache-name: linux-template-mono
@@ -47,6 +49,7 @@ jobs:
4749
sconsflags: module_mono_enabled=yes mono_static=yes mono_glue=no debug_symbols=no
4850
build-mono: false
4951
artifact: true
52+
submodules: recursive
5053

5154
- name: Minimal template (target=release, tools=no, everything disabled)
5255
cache-name: linux-template-minimal
@@ -55,11 +58,12 @@ jobs:
5558
sconsflags: modules_enabled_by_default=no disable_3d=yes disable_advanced_gui=yes deprecated=no minizip=no debug_symbols=no
5659
build-mono: false
5760
artifact: false
61+
submodules: recursive
5862

5963
steps:
6064
- uses: actions/checkout@v4
6165
with:
62-
submodules: recursive
66+
submodules: ${{ matrix.submodules }}
6367

6468
- name: Linux dependencies
6569
shell: bash

0 commit comments

Comments
 (0)