feat: security: Enable google safebrowsing and populate the API keys, b=no-bug, c=workflows, common, configs

This commit is contained in:
Mr. M
2025-06-09 19:11:09 +02:00
parent 35245078c9
commit d786c6927f
4 changed files with 33 additions and 3 deletions

View File

@@ -121,6 +121,11 @@ jobs:
./mach --no-interactive bootstrap --application-choice browser
cd ..
- name: Insert API Keys
run: |
mkdir -p ~/.zen-keys
echo "${{ secrets.ZEN_SAFEBROWSING_API_KEY }}" > ~/.zen-keys/safebrowsing.dat
- name: Build
env:
SURFER_COMPAT: ${{ matrix.arch }}
@@ -141,6 +146,10 @@ jobs:
export SURFER_PLATFORM="linux"
export ZEN_RELEASE=1
npm run package
- name: Remove API Keys
run: |
rm -rf ~/.zen-keys
- name: Rename artifacts
run: |