2019-07-23 15:50:59 +00:00
|
|
|
name: 'Checkout'
|
2019-12-03 15:28:59 +00:00
|
|
|
description: 'Checkout a Git repository'
|
2019-07-23 15:50:59 +00:00
|
|
|
inputs:
|
|
|
|
repository:
|
|
|
|
description: 'Repository name'
|
2019-12-03 15:28:59 +00:00
|
|
|
default: ${{ github.repository }}
|
2019-07-23 15:50:59 +00:00
|
|
|
ref:
|
2019-12-03 15:28:59 +00:00
|
|
|
description: >
|
|
|
|
Ref to checkout (SHA, branch, tag). For the repository that triggered the
|
|
|
|
workflow, defaults to the ref/SHA for the event. Otherwise defaults to master.
|
2019-07-23 15:50:59 +00:00
|
|
|
token:
|
|
|
|
description: 'Access token for clone repository'
|
2019-12-03 15:28:59 +00:00
|
|
|
default: ${{ github.token }}
|
|
|
|
path:
|
|
|
|
description: 'Relative path under $GITHUB_WORKSPACE to place the repository'
|
2019-07-23 15:50:59 +00:00
|
|
|
clean:
|
2019-12-03 15:28:59 +00:00
|
|
|
description: 'Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching'
|
2019-07-23 15:50:59 +00:00
|
|
|
default: true
|
|
|
|
fetch-depth:
|
2019-12-03 15:28:59 +00:00
|
|
|
description: 'Number of commits to fetch. 0 indicates all history.'
|
|
|
|
default: 1
|
|
|
|
lfs:
|
|
|
|
description: 'Whether to download Git-LFS files'
|
|
|
|
default: false
|
2019-07-23 15:50:59 +00:00
|
|
|
runs:
|
2019-12-03 15:28:59 +00:00
|
|
|
using: node12
|
|
|
|
main: dist/index.js
|
|
|
|
post: dist/index.js
|