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: |

View File

@@ -27,6 +27,6 @@
},
"homepage": "https://github.com/zen-browser/core#readme",
"dependencies": {
"@zen-browser/surfer": "^1.0.37"
"@zen-browser/surfer": "^1.1.1"
}
}

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@zen-browser/surfer':
specifier: ^1.0.37
version: 1.0.37
specifier: ^1.1.1
version: 1.1.1
packages:
@@ -109,8 +109,8 @@ packages:
'@types/node@17.0.45':
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
'@zen-browser/surfer@1.0.37':
resolution: {integrity: sha512-HKWgjfRpNuykDN5tKGrBQkEqOvGUsVdDIYw2uI7pocrWw58hKQ5JFvhRrtwi5NuiypR6lZ1rxXlGYQHX44N6OQ==}
'@zen-browser/surfer@1.1.1':
resolution: {integrity: sha512-lNJDQovwa/wySkZcARa+FrL59VVZP+qMaksfiGxaxbsFy5JsH0WPaAU1TiqLH9yIuTMWJenpQp+JplM6YeiMjA==}
hasBin: true
ansi-regex@5.0.1:
@@ -786,7 +786,7 @@ snapshots:
'@types/node@17.0.45': {}
'@zen-browser/surfer@1.0.37':
'@zen-browser/surfer@1.1.1':
dependencies:
'@resvg/resvg-js': 1.4.0
async-icns: 1.0.2