checkout

When you add the checkout command to one of your workflows, it performs the following operations:

  1. It gets a shallow clone of the GitHub repository linked to the project for which the CI Job is running. It uses the primary GitHub account you integrated into NeetoCI for authentication while cloning.

  2. It checks the commit on which the CI Job is running.

Do note that the command changes the current working directory to the directory of the clone.

image
Commit Info printed from two CI Jobs on two different commits

Can't find what you're looking for?