3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-24 04:15:33 +00:00
This commit is contained in:
eric sciple 2019-12-09 19:37:05 -05:00
parent 1475d13f7a
commit e7d8850882
2 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,9 @@ export async function downloadRepository(
console.log(`headers=${JSON.stringify(response.headers)}`)
console.log(`data=${response.data}`)
console.log(`data=${JSON.stringify(response.data)}`)
for (const key of Object.keys(response.data)) {
console.log(`data['${key}']=${response.data[key]}`)
}
const runnerTemp = process.env['RUNNER_TEMP'] as string
assert.ok(runnerTemp, 'RUNNER_TEMP not defined')
const archiveFile = path.join(runnerTemp, 'checkout.tar.gz')