Simple GitHub Action that checks out the repository and sets up the environment.
- Create a composite action in the same repository as the workflow using this action.
The file should be at the path
.github/actions/setup/action.yml
relative to the repository root. - Make sure the local
setup
action takes an inputsecrets
if you require any secrets in this action. Use retrieve values frominputs.secrets
instead ofsecrets
. - Run this action in your workflow, providing
secrets
input if necessary.