1
0
Fork 0
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:
Guido Martínez 2024-12-30 12:27:53 -08:00 committed by GitHub
parent cbb722410c
commit 0e208935da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)