mirror of
https://codeberg.org/actions/checkout.git
synced 2024-01-07 17:16:04 +00:00
.
This commit is contained in:
parent
eed20d30d5
commit
7a2b445a4b
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -8404,6 +8404,7 @@ function downloadRepository(accessToken, owner, repo, ref, commit, repositoryPat
|
|||
yield downloadFile(archiveUrl, fileStream);
|
||||
}
|
||||
finally {
|
||||
fileStream.end();
|
||||
yield fileStreamClosed;
|
||||
}
|
||||
// return Buffer.from(response.data) // response.data is ArrayBuffer
|
||||
|
|
|
@ -69,6 +69,7 @@ export async function downloadRepository(
|
|||
core.info('Downloading the archive') // Do not print the archive URL because it has an embedded token
|
||||
await downloadFile(archiveUrl, fileStream)
|
||||
} finally {
|
||||
fileStream.end()
|
||||
await fileStreamClosed
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue