mirror of
https://github.com/actions/checkout.git
synced 2024-12-27 11:33:05 +07:00
.
This commit is contained in:
parent
34b9c46c61
commit
1475d13f7a
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -8110,8 +8110,8 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
|
||||
}
|
||||
console.log(`status=${response.status}`);
|
||||
console.log(`headers=${JSON.stringify(response.headers)}`);
|
||||
console.log(`data=${JSON.stringify(typeof response.data)}`);
|
||||
console.log(`data.length=${response.data.length}`);
|
||||
console.log(`data=${response.data}`);
|
||||
console.log(`data=${JSON.stringify(response.data)}`);
|
||||
const runnerTemp = process.env['RUNNER_TEMP'];
|
||||
assert.ok(runnerTemp, 'RUNNER_TEMP not defined');
|
||||
const archiveFile = path.join(runnerTemp, 'checkout.tar.gz');
|
||||
|
@ -34,8 +34,8 @@ export async function downloadRepository(
|
||||
}
|
||||
console.log(`status=${response.status}`)
|
||||
console.log(`headers=${JSON.stringify(response.headers)}`)
|
||||
console.log(`data=${JSON.stringify(typeof response.data)}`)
|
||||
console.log(`data.length=${(response.data as Buffer).length}`)
|
||||
console.log(`data=${response.data}`)
|
||||
console.log(`data=${JSON.stringify(response.data)}`)
|
||||
const runnerTemp = process.env['RUNNER_TEMP'] as string
|
||||
assert.ok(runnerTemp, 'RUNNER_TEMP not defined')
|
||||
const archiveFile = path.join(runnerTemp, 'checkout.tar.gz')
|
||||
|
Loading…
Reference in New Issue
Block a user