mirror of
https://github.com/actions/checkout
synced 2025-01-03 09:12:41 +00:00
README.md: document the outputs
This commit is contained in:
parent
cbb722410c
commit
0e208935da
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -129,6 +129,18 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
|||
```
|
||||
<!-- end usage -->
|
||||
|
||||
# Outputs
|
||||
|
||||
The action sets some outputs after a successful run
|
||||
```yaml
|
||||
outputs:
|
||||
ref:
|
||||
description: 'The branch, tag or SHA that was checked out'
|
||||
|
||||
commit:
|
||||
description: 'The commit SHA that was checked out'
|
||||
```
|
||||
|
||||
# Scenarios
|
||||
|
||||
- [Fetch only the root files](#Fetch-only-the-root-files)
|
||||
|
|
Loading…
Reference in a new issue