From 7d43afb7a98782a5cc4e448ecf2519a32e4e5c47 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sat, 6 Jan 2024 15:33:43 +0100 Subject: [PATCH] Change working dir and operate on . --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 3c97154..f5c0467 100644 --- a/main.js +++ b/main.js @@ -208,7 +208,8 @@ async function main() { "exec", container, "bash", "-c", - `apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'` +// `apt-get build-dep -yq -t '${imageTag}' '${sourceDirectory}' || apt-get build-dep -yq '${sourceDirectory}'` + `cd '${sourceDirectory}' && apt-get build-dep -yq -t '${imageTag}' . || apt-get build-dep -yq .` ]) core.endGroup() }