Skip to content
play

GitHub Action

Sparse Checkout

v0.4 Latest version

Sparse Checkout

play

Sparse Checkout

Sparse checkout a git repository, especially to speedup mono-repositories clone time

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Sparse Checkout

uses: gogaille/[email protected]

Learn more about this action in gogaille/sparse-checkout

Choose a version

Sparse checkout composite action

This action allows to sparse checkout a git repository, aims to speedup cloning time on mono repositories.

Inputs

patterns

Required The patterns to sparse checkout into the repository. Default "*".

Example usage

- uses: gogaille/sparse-checkout
  with:
    patterns: 'some_directory some_other_directory'