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 12, 2023
1 parent b160efa commit 7d1dd27
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 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,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 Down

0 comments on commit 7d1dd27

Please sign in to comment.