mirror of
https://gitee.com/actions-mirror/checkout.git
synced 2024-11-23 14:50:42 +08:00
Update description (#65)
This commit is contained in:
parent
01a434328a
commit
7990b10a0c
@ -38,8 +38,9 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
|
|||||||
# Default: ${{ github.repository }}
|
# Default: ${{ github.repository }}
|
||||||
repository: ''
|
repository: ''
|
||||||
|
|
||||||
# Ref to checkout (SHA, branch, tag). For the repository that triggered the
|
# The branch, tag or SHA to checkout. When checking out the repository that
|
||||||
# workflow, defaults to the ref/SHA for the event. Otherwise defaults to master.
|
# triggered a workflow, this defaults to the reference or SHA for that event.
|
||||||
|
# Otherwise, defaults to `master`.
|
||||||
ref: ''
|
ref: ''
|
||||||
|
|
||||||
# Access token for clone repository
|
# Access token for clone repository
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
name: 'Checkout'
|
name: 'Checkout'
|
||||||
description: 'Checkout a Git repository'
|
description: 'Checkout a Git repository at a particular version'
|
||||||
inputs:
|
inputs:
|
||||||
repository:
|
repository:
|
||||||
description: 'Repository name with owner. For example, actions/checkout'
|
description: 'Repository name with owner. For example, actions/checkout'
|
||||||
default: ${{ github.repository }}
|
default: ${{ github.repository }}
|
||||||
ref:
|
ref:
|
||||||
description: >
|
description: >
|
||||||
Ref to checkout (SHA, branch, tag). For the repository that triggered the
|
The branch, tag or SHA to checkout. When checking out the repository
|
||||||
workflow, defaults to the ref/SHA for the event. Otherwise defaults to master.
|
that triggered a workflow, this defaults to the reference or SHA for
|
||||||
|
that event. Otherwise, defaults to `master`.
|
||||||
token:
|
token:
|
||||||
description: 'Access token for clone repository'
|
description: 'Access token for clone repository'
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
@ -25,4 +26,4 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: node12
|
using: node12
|
||||||
main: dist/index.js
|
main: dist/index.js
|
||||||
post: dist/index.js
|
post: dist/index.js
|
||||||
|
Loading…
Reference in New Issue
Block a user