mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-24 04:15:33 +00:00
.
This commit is contained in:
parent
54a7542872
commit
35bb830cfd
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ export async function downloadRepository(
|
|||
assert.ok(runnerTemp, 'RUNNER_TEMP not defined')
|
||||
const archiveFile = path.join(runnerTemp, 'checkout-archive.tar.gz')
|
||||
await io.rmRF(archiveFile)
|
||||
await fs.promises.writeFile(archiveFile, new Buffer(response.data))
|
||||
await fs.promises.writeFile(archiveFile, Buffer.from(response.data))
|
||||
await exec.exec(`ls -la "${archiveFile}"`, [], {
|
||||
cwd: repositoryPath
|
||||
} as ExecOptions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue