From f74f3ec291ebd26a8ff5e315ae020d8a196d3e7d Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 15 Dec 2023 11:48:01 -0500 Subject: [PATCH] GHA: Exclude "extracted" dir from archive --- .github/workflows/gh-hosted-eclipse-distro-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index acd9c145e..2a9a86249 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -102,7 +102,9 @@ jobs: echo "Re-archive using tar.gz on linux runner to remove LIBARCHIVE headers" mkdir extracted tar -xzf $file --directory ./extracted - tar -czf $file ./extracted + cd extracted + tar -czf ../$file . + cd .. rm -rf extracted echo "Generate checksums for ${file}"