Skip to content

Commit 91562fe

Browse files
authored
Merge pull request #6 from hathitrust/build-submodules
Add option for checking out submodules when building
2 parents 81cf904 + ff11cfc commit 91562fe

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ inputs:
3636
description: >-
3737
Update 'latest' tag when pushing
3838
default: false
39+
submodules:
40+
description: >-
41+
Whether to checkout submodules (as for actions@v3) and thence build them
42+
into the image. Set to false by default as for checkout. If you use submodules,
43+
you probably want to set this.
44+
default: false
3945

4046
runs:
4147
using: composite
@@ -44,6 +50,7 @@ runs:
4450
uses: actions/checkout@v3
4551
with:
4652
ref: ${{ inputs.tag }}
53+
submodules: ${{ inputs.submodules }}
4754

4855
- name: Find commit for tag
4956
id: tag_check

0 commit comments

Comments
 (0)