feat: git clone repo
This commit is contained in:
1 parent
9893d56060
commit
28550e2270
5 files changed
+28
-17
No files matched your search
@@ -1,17 +1,15 @@
|
||||
# Checkout action
|
||||
# Checkout V1
|
||||
|
||||
This action checkout project's code.
|
||||
This action clones project's code under __$GITHUB_WORKSPACE__.
|
||||
|
||||
## Inputs
|
||||
|
||||
None
|
||||
|
||||
## Outputs
|
||||
|
||||
None
|
||||
|
||||
## Example usage
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
- uses: actions/checkout@v1
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
uses: actions/checkout@v1
|
||||
```
|
||||
|
||||
## Environment variables
|
||||
|
||||
To checks out a private repo, __GH_TOKEN__ must be configured with an authentication token with read permissions.
|
||||
Reference in new issue
Block a user