From c2861900c5c9bdb9b9171c1b3cc9c08d7c3f752d Mon Sep 17 00:00:00 2001 From: Renoy John Marattukalam Date: Wed, 1 May 2024 11:48:34 -0700 Subject: [PATCH] Fix issues with tar --- .github/workflows/package.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index d971fe8d..187731fa 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -87,7 +87,8 @@ jobs: if: matrix.TARGET == 'macos' run: | rm -f dist/${{ matrix.TARGET }}/${{ matrix.BUNDLE_NAME }}/tabcmd - tar -cvf dist/${{ matrix.TARGET }}/${{ matrix.BUNDLE_NAME }}.tar dist/${{ matrix.TARGET }}/${{ matrix.BUNDLE_NAME }} + cd dist/${{ matrix.TARGET }} + tar -cvf ${{ matrix.BUNDLE_NAME }}.tar ${{ matrix.BUNDLE_NAME }} - name: Upload artifact if: matrix.TARGET != 'macos' @@ -101,4 +102,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: ${{ matrix.BUNDLE_NAME }} - path: ./dist/${{ matrix.TARGET }}/${{ matrix.BUNDLE_NAME }}.tar + path: ./${{ matrix.BUNDLE_NAME }}.tar