From d4a7d7eac4dec7361aa778d97b6a2771c7b92295 Mon Sep 17 00:00:00 2001 From: Hyper_ <40342021+NotHyper-474@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:48:58 -0300 Subject: [PATCH] [Unix Build Actions] Do not preserve directory tree when packing tar (#334) * Update linux.yml Now it won't preserve the directory tree (i.e it won't include the "export/release/linux/bin" folders) * do the same for macos --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8ac80b6af..4e742b352 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -36,7 +36,7 @@ jobs: run: | haxelib run lime build linux - name: Tar files - run: tar -zcvf CodenameEngine.tar.gz export/release/linux/bin + run: tar -zcvf CodenameEngine.tar.gz -C export/release/linux/bin . - name: Uploading artifact (entire build) uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 819a3af01..3dd288143 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -33,7 +33,7 @@ jobs: run: | haxelib run lime build mac - name: Tar files - run: tar -zcvf CodenameEngine.tar.gz export/release/macos/bin + run: tar -zcvf CodenameEngine.tar.gz -C export/release/macos/bin . - name: Uploading artifact (entire build) uses: actions/upload-artifact@v2 with: