users/ericsciple/m163tarball_efficient_download
eric sciple 5 years ago
parent 1475d13f7a
commit e7d8850882

3
dist/index.js vendored

@ -8112,6 +8112,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
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'];
assert.ok(runnerTemp, 'RUNNER_TEMP not defined');
const archiveFile = path.join(runnerTemp, 'checkout.tar.gz');

@ -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')

Loading…
Cancel
Save