From c16730ea86aff221caa4464dfa9ec944a94e6b36 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 5 Sep 2024 08:57:13 -0700 Subject: Add Ref and Commit outputs (#1180) Signed-off-by: Luca Comellini --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'action.yml') diff --git a/action.yml b/action.yml index 75d5ae2..6842eb8 100644 --- a/action.yml +++ b/action.yml @@ -98,6 +98,11 @@ inputs: github-server-url: description: The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com required: false +outputs: + ref: + description: 'The branch, tag or SHA that was checked out' + commit: + description: 'The commit SHA that was checked out' runs: using: node20 main: dist/index.js -- cgit v1.2.3