forked from waja/action-debian-package
main: copy artifacts to workspace
This commit is contained in:
parent
1d3348542a
commit
d0e11fce34
8
main.js
8
main.js
|
@ -82,6 +82,14 @@ async function main() {
|
||||||
"dpkg-buildpackage", "-tc"
|
"dpkg-buildpackage", "-tc"
|
||||||
])
|
])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
|
||||||
|
core.startGroup("Copy artifacts")
|
||||||
|
await exec.exec("docker", [
|
||||||
|
"exec",
|
||||||
|
container,
|
||||||
|
"cp", `../${package}_${version}*.*`, "."
|
||||||
|
])
|
||||||
|
core.endGroup()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(error.message)
|
core.setFailed(error.message)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue