From d0e11fce3447eef167c6444c1115dd9f8b315b68 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 26 Mar 2020 11:45:32 +0100 Subject: [PATCH] main: copy artifacts to workspace --- main.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.js b/main.js index 8a43f6c..c03480a 100644 --- a/main.js +++ b/main.js @@ -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) }