mirror of
https://github.com/actions/checkout.git
synced 2025-12-13 22:09:23 +00:00
Add string[] option to submodules
Allows checking out only specific submodules instead of all
This commit is contained in:
committed by
Marcus Tillmanns
parent
9a9194f871
commit
b6625bb44a
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@@ -154,6 +154,17 @@ jobs:
|
||||
submodules: true
|
||||
- name: Verify submodules true
|
||||
run: __test__/verify-submodules-true.sh
|
||||
|
||||
# Submodules limited
|
||||
- name: Checkout submodules limited
|
||||
uses: ./
|
||||
with:
|
||||
ref: test-data/v2/submodule-ssh-url
|
||||
path: submodules-true
|
||||
submodules: true
|
||||
submodule-directories: submodule-level-1
|
||||
- name: Verify submodules true
|
||||
run: __test__/verify-submodules-true.sh
|
||||
|
||||
# Submodules recursive
|
||||
- name: Checkout submodules recursive
|
||||
|
||||
Reference in New Issue
Block a user