1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-07 08:51:46 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Guido Martínez
c2c299a81a
Merge 0e208935da into 1af3b93b68 2025-11-20 12:07:47 -08:00
Guido Martínez
0e208935da
README.md: document the outputs 2024-12-30 12:27:53 -08:00

View File

@ -162,6 +162,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
- [Checkout V5](#checkout-v5)