From 704597a7cd22f44f224cb918d62fd1b12c44d65c Mon Sep 17 00:00:00 2001 From: KTrain5369 <69028025+KTrain5169@users.noreply.github.com> Date: Sun, 20 Oct 2024 21:47:26 +1000 Subject: [PATCH] workflow not working --- .github/workflows/script-release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/script-release.yml b/.github/workflows/script-release.yml index 0f6f8aa..73f7912 100644 --- a/.github/workflows/script-release.yml +++ b/.github/workflows/script-release.yml @@ -50,6 +50,13 @@ jobs: chmod +x dist/CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }} tar -czvf dist/CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }}.tar.gz dist/CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }} rm -rf dist/CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }} + + - name: Zip folder on Mac + if: ${{ matrix.runner_os == 'macos-latest' }} + run: | + zip -r CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }}.zip dist/ + rm -rf dist/ + mv CatPack_Crafter_${{ github.ref_name }}_${{ matrix.os }}.zip dist/ - name: Upload debug builds uses: actions/upload-artifact@v4