Add Ref and Commit outputs (#1180)
Some checks failed
Build and Test / test (macos-latest) (push) Waiting to run
Build and Test / test (windows-latest) (push) Waiting to run
CodeQL / Analyze (javascript) (push) Failing after 18s
Check dist / check-dist (push) Successful in 23s
Licensed / Check licenses (push) Successful in 20s
Build and Test / build (push) Failing after 27s
Build and Test / test-proxy (push) Failing after 22s
Build and Test / test (ubuntu-latest) (push) Failing after 49s
Build and Test / test-git-container (push) Failing after 19s
Build and Test / test-bypass-proxy (push) Failing after 42s
Build and Test / test-output (push) Successful in 13s

Signed-off-by: Luca Comellini <luca.com@gmail.com>
This commit is contained in:
Luca Comellini
2024-09-05 08:57:13 -07:00
committed by GitHub
parent 2d7d9f7ff5
commit b684943689
5 changed files with 45 additions and 2 deletions

View File

@@ -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