main: use find for copying
This commit is contained in:
parent
c44dab731a
commit
8cb980e7ab
7
main.js
7
main.js
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue