Skip to content

Commit 1ef36a7

Browse files
committed
Fix Windows workflow vcpkg pango checksum mismatch issue
1 parent 734b5df commit 1ef36a7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-test-and-docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,13 @@ jobs:
202202
path: vcpkg_installed
203203
key: vcpkg-${{ steps.triplet.outputs.lowercase }}-${{ hashFiles('vcpkg.json') }}
204204

205+
- name: Apply GNOME-pango checksum fix (issue caused by Anubis)
206+
if: steps.cache.outputs.cache-hit != 'true'
207+
run: |
208+
# This fix is from @Kwizatz: https://github.com/microsoft/vcpkg/issues/47984#issuecomment-3471327762
209+
New-Item -ItemType Directory -Path C:\vcpkg\downloads -Force # aka; mkdir -p
210+
Invoke-WebRequest -Uri https://gitlab.gnome.org//GNOME/pango/-/archive/1.56.1/pango-1.56.1.tar.gz -OutFile C:\vcpkg\downloads\GNOME-pango-1.56.1.tar.gz # aka; curl -o outfile url
211+
205212
- name: Build and Install Dependencies
206213
if: steps.cache.outputs.cache-hit != 'true'
207214
env:

0 commit comments

Comments
 (0)