Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/action.yml
diff options
context:
space:
mode:
authorLuca Comellini <luca.com@gmail.com>2024-09-05 08:57:13 -0700
committerGitHub <noreply@github.com>2024-09-05 11:57:13 -0400
commitc16730ea86aff221caa4464dfa9ec944a94e6b36 (patch)
treed8f764819a838daa3508f71c980eecc82e87d5a9 /action.yml
parent5124486016880e81b011eeffffe04d4b918740ec (diff)
Add Ref and Commit outputs (#1180)
Signed-off-by: Luca Comellini <luca.com@gmail.com>
Diffstat (limited to 'action.yml')
-rw-r--r--action.yml5
1 files changed, 5 insertions, 0 deletions
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