From 0e208935da1975d9f58aa1581c473fb648ed24af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= Date: Mon, 30 Dec 2024 12:27:53 -0800 Subject: [PATCH] README.md: document the outputs --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index b0f6224..9072601 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,18 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/ ``` +# 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)