add build variants for beta and beta-firefox

This commit is contained in:
Son NK
2024-04-11 14:54:39 +02:00
parent fb551221c5
commit 2863457ae8
+27 -3
View File
@@ -78,7 +78,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
variant: ['full', 'lite', 'mac']
variant: ['full', 'lite', 'mac', 'beta', 'beta-firefox']
steps:
- name: Build info
@@ -128,7 +128,31 @@ jobs:
npm run build:lite
SUFFIX=lite npm run build-zip
- name: Build full version
- name: Build beta version for Chromium
if: matrix.variant == 'beta'
shell: bash
run: |
npm install
cross-env NODE_ENV=production BETA=1 webpack
SUFFIX=beta npm run build-zip
- name: Build beta version for Firefox
if: matrix.variant == 'beta-firefox'
shell: bash
run: |
npm install
cross-env NODE_ENV=production BETA=1 FIREFOX=1 webpack
SUFFIX=beta-firefox npm run build-zip
- name: Build production version for Firefox
if: matrix.variant == 'beta-firefox'
shell: bash
run: |
npm install
cross-env NODE_ENV=production FIREFOX=1 webpack
SUFFIX=firefox npm run build-zip
- name: Build production version for Chromium
if: matrix.variant == 'full'
shell: bash
run: |
@@ -213,4 +237,4 @@ jobs:
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}