MA
makers99/checkout-files
Github Action checkout only certain files
checkout-files
Github Action to checkout only certain files or folders.
Useful if only need certain file, like config or
assets for your workflow, instead of pulling all the repo.
Inputs
files
A list of files with the path relative to the $GITHUB_WORKSPACE.
You can also specify a folder and the action will recessively pull all the files.
- name: Check out configuration
uses: Bhacaz/checkout-files@v1
with:
files: Gemfile Gemfile.lock .ruby-version config
token: ${{ github.token }}token
A Github Private Access Token.
- uses: Bhacaz/checkout-files@v1
with:
token: ${{ secrets.token }}branch
Checkout the files from a specific branch instead of master.
- uses: Bhacaz/checkout-files
with:
branch: ${{ github.event.inputs.branch }}
On this page
Languages
JavaScript100.0%
Latest Release
v1.1.0January 12, 2022MIT License
Created October 28, 2021
Updated October 29, 2021