From 02991ea04fb1d587a331731bb37642ed9d59167d Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Tue, 21 Nov 2023 10:03:54 +0100 Subject: [PATCH] chore: fix upload zip generations Parent paths should not be included in the zipped artifact file --- .github/actions/artifact-upload/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/artifact-upload/action.yaml b/.github/actions/artifact-upload/action.yaml index f5b6784fcc..1111ce3029 100644 --- a/.github/actions/artifact-upload/action.yaml +++ b/.github/actions/artifact-upload/action.yaml @@ -37,10 +37,10 @@ runs: - name: Zip artifact folder shell: bash - run: zip artifacts.zip ${{ inputs.folder }} -r + run: cd ${{ inputs.folder }} && zip artifacts.zip . -r - name: Upload artifacts uses: actions/upload-artifact@v3 with: name: ${{ inputs.name }} - path: artifacts.zip + path: ${{ inputs.folder }}/artifacts.zip