main: use find for copying

This commit is contained in:
Dawid Dziurla 2020-03-26 11:56:06 +01:00
parent c44dab731a
commit 8cb980e7ab
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -87,12 +87,7 @@ async function main() {
await exec.exec("docker", [
"exec",
container,
"ls", "-lh", ".."
])
await exec.exec("docker", [
"exec",
container,
"cp", `../${package}_${version}*.*`, "."
"find", "..", "-type", "f", "-exec", "cp", "{}", ".", "+"
])
core.endGroup()
} catch (error) {