mirror of
https://github.com/actions/checkout.git
synced 2025-12-13 22:09:23 +00:00
Add support for sparse checkouts
This commit is contained in:
committed by
Johannes Schindelin
parent
f095bcc56b
commit
9f59c817cf
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@@ -72,6 +72,19 @@ jobs:
|
||||
shell: bash
|
||||
run: __test__/verify-side-by-side.sh
|
||||
|
||||
# Sparse checkout
|
||||
- name: Sparse checkout
|
||||
uses: ./
|
||||
with:
|
||||
sparse-checkout: |
|
||||
__test__
|
||||
.github
|
||||
dist
|
||||
path: sparse-checkout
|
||||
|
||||
- name: Verify sparse checkout
|
||||
run: __test__/verify-sparse-checkout.sh
|
||||
|
||||
# LFS
|
||||
- name: Checkout LFS
|
||||
uses: ./
|
||||
|
||||
Reference in New Issue
Block a user