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