chore: add readme example
This commit is contained in:
parent
6d6f672e6a
commit
1681935a5e
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -1 +1,15 @@
|
||||||
# checkout
|
# checkout
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
uses: actions/checkout:1.0.0
|
||||||
|
with:
|
||||||
|
# The path to the repository to checkout. Must be accessible with the pipeline
|
||||||
|
# token on publiclly
|
||||||
|
repository: ${{ github.server_url }}/${{ github.repository }}.git
|
||||||
|
# Relative path under $GITHUB_WORKSPACE to place the repository
|
||||||
|
path: .
|
||||||
|
# The branch, tag or SHA to checkout. When checking out the repository that
|
||||||
|
# triggered a workflow, this defaults to the reference or SHA for that event.
|
||||||
|
# Otherwise, uses the default branch.
|
||||||
|
ref: ${{ github.ref || github.sha }}
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue