mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-05-07 18:39:55 +02:00
Add Ref and Commit outputs
Signed-off-by: Luca Comellini <luca.com@gmail.com>
This commit is contained in:
parent
9a9194f871
commit
14b9b90461
5 changed files with 45 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue