forked from waja/action-debian-package
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", [
|
||||
"exec",
|
||||
container,
|
||||
"ls", "-lh", ".."
|
||||
])
|
||||
await exec.exec("docker", [
|
||||
"exec",
|
||||
container,
|
||||
"cp", `../${package}_${version}*.*`, "."
|
||||
"find", "..", "-type", "f", "-exec", "cp", "{}", ".", "+"
|
||||
])
|
||||
core.endGroup()
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in a new issue