From a946f31b5055db1f244578c2ecbee86b67fa99d4 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Tue, 23 Jul 2024 13:43:50 +0200 Subject: [PATCH] chore: Update Windows profile build workflow to include downloading and extracting Firefox source code --- .github/workflows/windows-profile-build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows-profile-build.yml b/.github/workflows/windows-profile-build.yml index 1c73cfa74..85e211331 100644 --- a/.github/workflows/windows-profile-build.yml +++ b/.github/workflows/windows-profile-build.yml @@ -16,11 +16,14 @@ jobs: runs-on: windows-latest # Script edited from https://github.com/Floorp-Projects/Floorp/blob/ESR115/.github/workflows/window-generate-profile-data-and-jarlog.yml steps: - - name: Clone - uses: actions/checkout@v4 - with: - repository: BrowserWorks/Waterfox - clean: true + - name: Clone firefox-source + run: | + curl https://archive.mozilla.org/pub/firefox/releases/128.0/source/firefox-128.0.source.tar.xz --output firefox-128.0.source.tar.xz + 7z x firefox-128.0.source.tar.xz + 7z x firefox-128.0.source.tar + mv firefox-128.0.source firefox-source + ls + ls firefox-source - uses: actions/download-artifact@v4 name: Download artifact @@ -45,6 +48,8 @@ jobs: $Env:USE_MINTTY = "0" $workspace_dir = [regex]::replace($env:GITHUB_WORKSPACE, "^([A-Z]):", { "/" + $args.value.Substring(0, 1).toLower() }) -replace "\\","/" + $workspace_dir = $workspace_dir + "/firefox-source" + cd $workspace_dir echo $workspace_dir echo "cd $workspace_dir" '' >> mozilla-build-run.sh