chore: Update welcome page CSS and build configurations

This commit is contained in:
Mauro Balades
2024-08-01 22:10:58 +02:00
parent 406f11dd9a
commit 5d946db186
4 changed files with 111 additions and 87 deletions

View File

@@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
generic: [true, false]
name: Build Linux - ${{ matrix.generic == 'true' && 'Generic' || 'Specific' }}
name: Build Linux - ${{ matrix.generic == true && 'Generic' || 'Specific' }}
steps:
- name: Install Node.js
@@ -92,7 +92,7 @@ jobs:
- name: Import
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm surfer import
- name: Bootstrap
@@ -103,19 +103,19 @@ jobs:
- name: Build
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
continue-on-error: true
run: sh .github/workflows/src/alpha-build.sh
- name: Build again if it failed
if: failure()
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
run: sh .github/workflows/src/alpha-build.sh
- name: Package
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm package
- name: Rename artifacts
@@ -126,17 +126,17 @@ jobs:
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: zen.linux-${{ matrix.generic == 'true' && 'generic' || 'specific' }}.tar.bz2
name: zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2
path: ./zen.linux.tar.bz2
- name: Upload mar
uses: actions/upload-artifact@v4
with:
name: linux${{ matrix.generic == 'true' && '-generic' || '' }}.mar
name: linux${{ matrix.generic == true && '-generic' || '' }}.mar
path: ./linux.mar
- name: Upload update manifests
uses: actions/upload-artifact@v4
with:
name: linux_update_manifest_${{ matrix.generic == 'true' && 'generic' || 'specific' }}
name: linux_update_manifest_${{ matrix.generic == true && 'generic' || 'specific' }}
path: ./dist/update

View File

@@ -16,7 +16,7 @@ on:
jobs:
windows-build:
name: Build Windows - ${{ matrix.generic == 'true' && 'Generic' || 'Specific' }}
name: Build Windows - ${{ matrix.generic == true && 'Generic' || 'Specific' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -137,12 +137,12 @@ jobs:
- name: Import
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm surfer import --verbose
- name: Build
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
run: |
set -x
dos2unix configs/windows/mozconfig
@@ -155,7 +155,7 @@ jobs:
- name: Package
env:
SURFER_COMPAT: ${{ matrix.generic == 'true' }}
SURFER_COMPAT: ${{ matrix.generic == true }}
run: |
set -x
export SURFER_PLATFORM="win32"
@@ -175,7 +175,7 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: zen.win-${{ matrix.generic == 'true' && 'generic' || 'specific' }}.zip
name: zen.win-${{ matrix.generic == true && 'generic' || 'specific' }}.zip
path: ./zen.win64.zip
- name: Upload PGO build
@@ -189,14 +189,14 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: windows${{ matrix.generic == 'true' && '-generic' || '' }}.mar
name: windows${{ matrix.generic == true && '-generic' || '' }}.mar
path: ./windows.mar
- name: Upload installer
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: zen.installer${{ matrix.generic == 'true' && '-generic' || '' }}.exe
name: zen.installer${{ matrix.generic == true && '-generic' || '' }}.exe
path: ./dist/zen.installer.exe
- name: Upload installer stub
@@ -210,5 +210,5 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: windows_update_manifest_${{ matrix.generic == 'true' && 'generic' || 'specific' }}
name: windows_update_manifest_${{ matrix.generic == true && 'generic' || 'specific' }}
path: ./dist/update