mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-11-26 22:31:02 -05:00
.
This commit is contained in:
parent
675d935214
commit
bf32513e49
2 changed files with 6 additions and 0 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -8125,6 +8125,9 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
|
||||||
yield exec.exec(`tar -xzf "${archiveFile}"`, [], {
|
yield exec.exec(`tar -xzf "${archiveFile}"`, [], {
|
||||||
cwd: repositoryPath
|
cwd: repositoryPath
|
||||||
});
|
});
|
||||||
|
yield exec.exec(`find .`, [], {
|
||||||
|
cwd: repositoryPath
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.downloadRepository = downloadRepository;
|
exports.downloadRepository = downloadRepository;
|
||||||
|
|
|
@ -49,4 +49,7 @@ export async function downloadRepository(
|
||||||
await exec.exec(`tar -xzf "${archiveFile}"`, [], {
|
await exec.exec(`tar -xzf "${archiveFile}"`, [], {
|
||||||
cwd: repositoryPath
|
cwd: repositoryPath
|
||||||
} as ExecOptions)
|
} as ExecOptions)
|
||||||
|
await exec.exec(`find .`, [], {
|
||||||
|
cwd: repositoryPath
|
||||||
|
} as ExecOptions)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue