Skip to content

dusklight/github-actions-sparse-checkout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

Watchers

Forks

Contributors