Skip to content

Commit

Permalink
feat: added optional submodule pull (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: Kristijonas Malisauskas <[email protected]>
Co-authored-by: Eric Ribeiro <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2022
1 parent f060c80 commit e714013
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/jobs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ parameters:
description: |
Whether to return the license used to build the project.
Unity only allows returning professional licenses.
fetch-submodules:
type: boolean
default: false
description: |
Whether to fetch git submodules
no_output_timeout:
type: string
default: "20m"
Expand All @@ -93,6 +98,12 @@ executor: << parameters.executor >>

steps:
- checkout
- run:
name: Fetch submodules
command: |
git submodule sync
git submodule update --init
condition: << parameters.fetch-submodules >>
- prepare-env:
unity-username-var-name: << parameters.unity-username-var-name >>
unity-password-var-name: << parameters.unity-password-var-name >>
Expand Down

0 comments on commit e714013

Please sign in to comment.