From f94bd7a0c2883fc9908518ecf79f42ad3fc74921 Mon Sep 17 00:00:00 2001 From: Thomas Willson Date: Sun, 14 Jan 2024 18:36:54 -0800 Subject: [PATCH] Improve Safari build. +semver:patch --- .github/workflows/build.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c982ba9..5d7f2ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,22 +56,16 @@ jobs: run: npm run build ${{ matrix.browser }} - name: Zip + if: matrix.browser != 'safari' run: 7z a dist/${{ matrix.browser }}.zip ./dist/${{ matrix.browser }}/* - - name: Generate Safari Project + - name: Generate & Zip Safari Project if: matrix.browser == 'safari' - run: npm run build-safari && 7z a xcode.zip ./xcode/* + run: npm run build-safari && 7z a dist/safari.zip ./xcode/* - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: extension-${{ 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.zip \ No newline at end of file