diff --git a/.github/workflows/build-browser.yml b/.github/workflows/build-browser.yml index 9a5e4ebd33b..87fac5c8fa9 100644 --- a/.github/workflows/build-browser.yml +++ b/.github/workflows/build-browser.yml @@ -144,7 +144,7 @@ jobs: - name: Build Manifest v3 run: | - npm run dist:chrome:mv3 + npm run dist:mv3 - name: Gulp run: gulp ci @@ -177,6 +177,13 @@ jobs: path: apps/browser/dist/dist-opera.zip if-no-files-found: error + - name: Upload Opera MV3 artifact + uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 + with: + name: dist-opera-MV3-${{ env._BUILD_NUMBER }}.zip + path: apps/browser/dist/dist-opera-mv3.zip + if-no-files-found: error + - name: Upload Chrome artifact uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 with: @@ -188,7 +195,7 @@ jobs: uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 with: name: dist-chrome-MV3-${{ env._BUILD_NUMBER }}.zip - path: apps/browser/dist/dist-chrome-MV3.zip + path: apps/browser/dist/dist-chrome-mv3.zip if-no-files-found: error - name: Upload Firefox artifact @@ -205,6 +212,13 @@ jobs: path: apps/browser/dist/dist-edge.zip if-no-files-found: error + - name: Upload Edge MV3 artifact + uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 + with: + name: dist-edge-MV3-${{ env._BUILD_NUMBER }}.zip + path: apps/browser/dist/dist-edge-mv3.zip + if-no-files-found: error + - name: Upload browser source uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535 # v3.0.0 with: diff --git a/apps/browser/package.json b/apps/browser/package.json index bbabc2c9115..f207d96d428 100644 --- a/apps/browser/package.json +++ b/apps/browser/package.json @@ -9,8 +9,8 @@ "build:prod": "cross-env NODE_ENV=production webpack", "build:prod:watch": "cross-env NODE_ENV=production webpack --watch", "dist": "npm run build:prod && gulp dist", + "dist:mv3": "cross-env MANIFEST_VERSION=3 npm run build:prod && cross-env MANIFEST_VERSION=3 gulp dist", "dist:chrome": "npm run build:prod && gulp dist:chrome", - "dist:chrome:mv3": "cross-env MANIFEST_VERSION=3 npm run build:prod && cross-env MANIFEST_VERSION=3 gulp dist:chrome", "dist:firefox": "npm run build:prod && gulp dist:firefox", "dist:opera": "npm run build:prod && gulp dist:opera", "dist:safari": "npm run build:prod && gulp dist:safari",