1
0
mirror of https://github.com/actions/checkout.git synced 2026-03-04 08:41:01 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Guido Martínez
9d58692546
Merge 0e208935da into 8e8c483db8 2025-12-08 15:31:36 +01:00
Guido Martínez
0e208935da
README.md: document the outputs 2024-12-30 12:27:53 -08:00

View File

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