feat: use go sdk
This commit is contained in:
parent
a849295b46
commit
666a8fc251
8 changed files with 220 additions and 162 deletions
19
README.md
19
README.md
|
@ -1,20 +1 @@
|
|||
# checkout
|
||||
|
||||
This action checks-out your repository under $GITHUB_WORKSPACE, so your workflow can access it.
|
||||
|
||||
Only a single commit is fetched by default, for the ref/sha that triggered the workflow. The auth token
|
||||
is persisted in the local git config. This enables your scripts to run authenticated git commands.
|
||||
|
||||
This action is only written in shell (bash).
|
||||
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
uses: actions/checkout:1.0.0
|
||||
with:
|
||||
repository: ${{ github.server_url }}/${{ github.repository }}.git
|
||||
token: ${{ github.token }}
|
||||
path: .
|
||||
ref: ${{ github.ref || github.sha }}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue