Skip to content

Commit

Permalink
Test the patches against the latest chromium/* branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Feb 19, 2024
1 parent c482b01 commit b2a65e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit b2a65e5

Please sign in to comment.