chore: Update Windows profile build workflow to include downloading and extracting Firefox source code

This commit is contained in:
Mauro Balades
2024-07-23 17:22:52 +02:00
parent f2cab3dddb
commit 825bfd91db
4 changed files with 26 additions and 8 deletions

View File

@@ -195,7 +195,7 @@ jobs:
uses: ./.github/workflows/windows-profile-build.yml
permissions:
contents: write
needs: [build-data]
needs: [windows-step-1, build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
profile-data-path-archive: zen-windows-x86_64-profile-data-and-jarlog.zip

View File

@@ -31,9 +31,27 @@ jobs:
run: |
npm i -g @zen-browser/surfer
- uses: actions/download-artifact@v4
name: Download artifact
with:
path: C:\artifact
- name: Unpack artifact
run: |
cd C:\artifact
ls
7z x ${{ inputs.profile-data-path-archive }}
ls
- name: Setup
run: |
(New-Object System.Net.WebClient).DownloadFile("https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe","C:\MozillaBuildSetup-Latest.exe")
C:\MozillaBuildSetup-Latest.exe /S | out-null
- name: Download firefox
run: pnpm surfer download
run: |
git config --global core.safecrlf false
pnpm surfer download
- name: Generate
run: |