From 12d838361016746c59eea2a7d46053fb7541eef6 Mon Sep 17 00:00:00 2001 From: Thomas Willson Date: Sun, 14 Jan 2024 18:26:07 -0800 Subject: [PATCH] Zip extensions. +semver:major --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b02b655..c982ba9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,21 +54,24 @@ jobs: - name: Build run: npm run build ${{ matrix.browser }} + + - name: Zip + run: 7z a dist/${{ matrix.browser }}.zip ./dist/${{ matrix.browser }}/* - name: Generate Safari Project if: matrix.browser == 'safari' - run: npm run build-safari + run: npm run build-safari && 7z a xcode.zip ./xcode/* - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: extension-${{ matrix.browser }} - path: dist/${{ matrix.browser }} + path: dist/${{ matrix.browser }}.zip - name: Upload Safari Project if: matrix.browser == 'safari' uses: actions/upload-artifact@v4 with: name: extension-safari-project - path: xcode/ + path: xcode.zip \ No newline at end of file