Skip to content

About

Demo of GitHub Actions sparse checkout

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

github-actions-sparse-checkout

This repo contains a GitHub Action that demonstrates sparse checkout.

Sparse Checkout Demo

Refer to this blog post for more information.

View the action file: .github/workflows/sparse-checkout-demo.yml

This repo has the following structure and files. The sparse checkout action will only checkout blue-folder/project1/** folder.

📂 blue-folder             ┓
 ├─📂 project1             ┣━ Only this folder will be checked out
 │  ├─📄 largeFile10MB.bin ┃
 │  └─📄 textFile1.txt     ┛
 ├─📂 project2
 │  ├─📄 largeFile7MB.bin
 │  └─📄 textFile2.txt
📂 red-folder
 ├─📂 project3
 │  └─📄 textFile3.txt
 └─📂 project4
    └─📄 textFile4.txt

About

Demo of GitHub Actions sparse checkout

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors