Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

j7nw4r/sparse-checkout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sparse checkout

Sparse checkout a git repository like actions/checkout.

Usage

name: 'Checkout mono repository'
on:
  push:

jobs:
  checkout:
    runs-on: ubuntu-20.04
    steps:
      - uses: snow-actions/sparse-checkout@v1.1.0
        with:
          patterns: |
            .github

Inputs

See action.yml.

name required description default value
patterns required Write a set of patterns to the sparse-checkout file. -
repository optional Same as actions/checkout ${{ github.repository }}
ref optional Same as actions/checkout ''
token optional Same as actions/checkout ${{ github.token }}
path optional Same as actions/checkout '.'

Support OS

Test

  • ubuntu-20.04 (ubuntu-latest)
  • ubuntu-18.04
  • windows-2019 (windows-latest)
  • windows-2016
  • macos-10.15 (macos-latest)

About

Sparse checkout a git repository.

Resources

License

Stars

Watchers

Forks

Packages

No packages published