github actions/checkout v2.0.0

latest releases: v4.1.5, v4, v4.1.4...
4 years ago
  • Improved fetch performance
    • The default behavior now fetches only the commit being checked-out
  • Script authenticated git commands
    • Persists the input token in the local git config
    • Enables your scripts to run authenticated git commands
    • Post-job cleanup removes the token
    • Opt out by setting the input persist-credentials: false
  • Creates a local branch
    • No longer detached HEAD when checking out a branch
    • A local branch is created with the corresponding upstream branch set
  • Improved layout
    • The input path is always relative to $GITHUB_WORKSPACE
    • Aligns better with container actions, where $GITHUB_WORKSPACE gets mapped in
  • Fallback to REST API download
    • When Git 2.18 or higher is not in the PATH, the REST API will be used to download the files
  • Removed input submodules

Don't miss a new checkout release

NewReleases is sending notifications on new releases.