From b2a65e53f598d5f91f7c6fa9d86d916d82e292ea Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Mon, 19 Feb 2024 15:19:24 +0100 Subject: [PATCH] Test the patches against the latest `chromium/*` branch --- .github/workflows/patch.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/patch.yml b/.github/workflows/patch.yml index 2e89ea5e..1c187f67 100644 --- a/.github/workflows/patch.yml +++ b/.github/workflows/patch.yml @@ -23,8 +23,10 @@ jobs: id: checkout timeout-minutes: 15 run: | + PDFium_BRANCH=$(git ls-remote --sort version:refname --refs https://pdfium.googlesource.com/pdfium.git 'chromium/*' | tail -n 1 | cut -d/ -f3-4) + echo "Checking out branch $PDFium_BRANCH" gclient config --unmanaged "https://pdfium.googlesource.com/pdfium.git" --custom-var "checkout_configuration=minimal" - gclient sync --no-history --shallow + gclient sync -r "origin/${PDFium_BRANCH}" --no-history --shallow - name: Create patch script run: |