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", [ await exec.exec("docker", [
"exec", "exec",
container, container,
"ls", "-lh", ".." "find", "..", "-type", "f", "-exec", "cp", "{}", ".", "+"
])
await exec.exec("docker", [
"exec",
container,
"cp", `../${package}_${version}*.*`, "."
]) ])
core.endGroup() core.endGroup()
} catch (error) { } catch (error) {