1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-07-07 20:22:54 +00:00

Add Ref and Commit outputs

Signed-off-by: Luca Comellini <luca.com@gmail.com>
This commit is contained in:
Luca Comellini 2023-02-16 11:10:37 -08:00
parent 9a9194f871
commit 14b9b90461
No known key found for this signature in database
GPG key ID: 4850B36E838507C6
5 changed files with 45 additions and 2 deletions

View file

@ -19,6 +19,7 @@ async function run(): Promise<void> {
// Get sources
await gitSourceProvider.getSource(sourceSettings)
core.setOutput('ref', sourceSettings.ref)
} finally {
// Unregister problem matcher
coreCommand.issueCommand('remove-matcher', {owner: 'checkout-git'}, '')