Skip to content

nickohold/checkout_to_anywhere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

checkout_to_anywhere

Github action to checkout a repo to any path, including outside of $GITHUB_WORKSPACE

inputs: repository: description: 'Repository to clone. Ex.: githubuser/repo' required: true path: description: 'Path to clone the repo to. default is home dir ($HOME)' required: false default: '$HOME' ref: description: 'Branch to clone' required: false default: '' token: description: 'Personal access token (PAT) used to fetch the repository.' required: false default: ''

example:

- uses: nickohold/checkout_to_anywhere@latest
  with:
    repository: 'nickohold/some_repo'
    ref: 'some_branch_name'
    path: "~/this_path"

About

Github action to checkout a repo to any path

Resources

License

Stars

Watchers

Forks

Packages

No packages published