1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-17 17:24:00 +08:00
This commit is contained in:
Guido Martínez
2025-07-23 12:14:45 -07:00
committed by GitHub

View File

@@ -147,6 +147,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)