0
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-12-16 19:35:45 +02:00

Add path output

This commit is contained in:
Claas Augner 2025-12-08 15:30:47 +01:00
parent 8e8c483db8
commit dbdf390b9d
No known key found for this signature in database
GPG key ID: EF528E8D517D370E
4 changed files with 10 additions and 0 deletions

View file

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