Skip to content

Commit 3df79e0

Browse files
TingluoHuangDanny McCormick
authored andcommitted
add checkout action.yml (#1)
* initial test. * test * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml
1 parent 44679f6 commit 3df79e0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

action.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Checkout'
2+
description: 'Get sources from a GitHub repository.'
3+
inputs:
4+
repository:
5+
description: 'Repository name'
6+
ref:
7+
description: 'Ref to checkout (SHA, branch, tag)'
8+
token:
9+
description: 'Access token for clone repository'
10+
clean:
11+
description: 'If true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching'
12+
default: true
13+
submodules:
14+
description: 'Directory containing files to upload'
15+
lfs:
16+
description: 'Whether to download Git-LFS files; defaults to false'
17+
fetch-depth:
18+
description: 'The depth of commits to ask Git to fetch; defaults to no limit'
19+
path:
20+
description: 'Optional path to check out source code'
21+
runs:
22+
plugin: 'checkout'

0 commit comments

Comments
 (0)