From 20b1cf302eab34a04d1104e8852fd08030d52473 Mon Sep 17 00:00:00 2001 From: Tingluo Huang Date: Fri, 19 Jul 2019 14:39:12 -0400 Subject: [PATCH] initial test. --- action.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..39f6af0 --- /dev/null +++ b/action.yml @@ -0,0 +1,30 @@ +name: 'Checkout' +description: 'Get sources from a GitHub repository.' +author: 'GitHub' +inputs: + repository: + description: 'Repository name' + required: true + default: ${{ github.repository }} + ref: + description: 'Ref to checkout when version is not specified' + default: ${{ github.ref }} + version: + description: 'Commit SHA to checkout' + default: ${{ github.version }} + token: + description: 'Access token for clone repository' + default: ${{ github.token }} + clean: + description: 'If true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching' + default: true + submodules: + description: 'Directory containing files to upload' + lfs: + description: 'Whether to download Git-LFS files; defaults to false' + fetchDepth: + description: 'The depth of commits to ask Git to fetch; defaults to no limit' + path: + description: 'Optional path to check out source code' +runs: + plugin: 'checkout' \ No newline at end of file