Skip to content

Commit e714013

Browse files
feat: added optional submodule pull (#41)
Co-authored-by: Kristijonas Malisauskas <[email protected]> Co-authored-by: Eric Ribeiro <[email protected]>
1 parent f060c80 commit e714013

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/jobs/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ parameters:
6969
description: |
7070
Whether to return the license used to build the project.
7171
Unity only allows returning professional licenses.
72+
fetch-submodules:
73+
type: boolean
74+
default: false
75+
description: |
76+
Whether to fetch git submodules
7277
no_output_timeout:
7378
type: string
7479
default: "20m"
@@ -93,6 +98,12 @@ executor: << parameters.executor >>
9398

9499
steps:
95100
- checkout
101+
- run:
102+
name: Fetch submodules
103+
command: |
104+
git submodule sync
105+
git submodule update --init
106+
condition: << parameters.fetch-submodules >>
96107
- prepare-env:
97108
unity-username-var-name: << parameters.unity-username-var-name >>
98109
unity-password-var-name: << parameters.unity-password-var-name >>

0 commit comments

Comments
 (0)