mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 14:29:23 +00:00
Add ref output to action
This value is the SHA1 commit of the repository ref that was actually checked out.
This commit is contained in:
@@ -86,6 +86,11 @@ inputs:
|
||||
long-paths:
|
||||
description: Enable core.longpath support
|
||||
default: true
|
||||
|
||||
output:
|
||||
ref:
|
||||
description: The SHA1 ref that was checked out
|
||||
|
||||
runs:
|
||||
using: node16
|
||||
main: dist/index.js
|
||||
|
||||
Reference in New Issue
Block a user