Skip to content

Commit

Permalink
docs: updates section about actions/checkout
Browse files Browse the repository at this point in the history
Document that it's not required, and should only be used if you need to access artifacts in a later step.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
  • Loading branch information
weierophinney committed Mar 5, 2021
1 parent b0c4f7c commit 78ac7da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
Generally, you will use this as a dependency of a job that uses [laminas/laminas-continuous-integration-action](https://github.com/laminas/laminas-continuous-integration-action), as demonstrated in the above configuration.
> ### DO NOT use actions/checkout
> ### actions/checkout not required
>
> **DO NOT** use the `actions/checkout` action in a step prior to using this action.
> Doing so will lead to errors, as this action performs git checkouts into the WORKDIR, and a non-empty WORKDIR causes that operation to fail.
> An actions/checkout step prior to this action is not required, as it will perform a checkout into the WORKDIR on its own if none has been performed previously.
> We recommend using actions/checkout only if you need to access QA artifacts in a later step.
## Outputs
Expand Down

0 comments on commit 78ac7da

Please sign in to comment.