Skip to content

Commit ad91031

Browse files
authored
[FIX] Add step to clean libxml2 downloads in build workflow
Added a step to remove potentially corrupted libxml2 downloads before building.
1 parent 42d7509 commit ad91031

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
build_release:
2929
runs-on: windows-2022
3030
steps:
31+
- name: Remove possibly corrupted libxml2 download
32+
shell: pwsh
33+
run: |
34+
$dl = Join-Path $env:GITHUB_WORKSPACE "vcpkg\downloads\*libxml2*"
35+
Write-Host "Removing: $dl"
36+
Remove-Item -Path $dl -Force -ErrorAction SilentlyContinue
3137
- name: Check out repository
3238
uses: actions/checkout@v4
3339
- name: Setup MSBuild.exe

0 commit comments

Comments
 (0)