main: copy artifacts to workspace

This commit is contained in:
Dawid Dziurla 2020-03-26 11:45:32 +01:00
parent 1d3348542a
commit d0e11fce34
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -82,6 +82,14 @@ async function main() {
"dpkg-buildpackage", "-tc"
])
core.endGroup()
core.startGroup("Copy artifacts")
await exec.exec("docker", [
"exec",
container,
"cp", `../${package}_${version}*.*`, "."
])
core.endGroup()
} catch (error) {
core.setFailed(error.message)
}