Skip to content

Commit

Permalink
Use correct patch binary on Github Actions Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hrxi committed Sep 16, 2023
1 parent d4270e0 commit 96f10d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/sanity_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
- name: Fetch tags and unshallow
run: git fetch --unshallow --tags

# https://github.com/actions/runner-images/issues/5459#issuecomment-1532856844
- name: Fix patch binary in search path
# Needed to use GNU patch instead of Strawberry Perl patch.
run: echo "C:\Program Files\Git\usr\bin" >> $env:GITHUB_PATH

- name: Install packages
run: |
python -m pip install --pre meson
Expand All @@ -50,6 +55,10 @@ jobs:
- name: Fetch tags and unshallow
run: git fetch --unshallow --tags

# https://github.com/actions/runner-images/issues/5459#issuecomment-1532856844
- name: Remove bad Strawberry Perl patch binary in search path
run: del C:\Strawberry\c\bin\patch.EXE

- name: Install packages
run: |
python -m pip install --pre meson
Expand Down

0 comments on commit 96f10d1

Please sign in to comment.