mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Windows CI] Set PATCH path
This commit is contained in:
parent
a2831cf247
commit
3711467362
1 changed files with 7 additions and 1 deletions
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
|
@ -18,15 +18,21 @@ jobs:
|
|||
env:
|
||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||
VCVARS: ${{ matrix.vcvars }}
|
||||
PATCH: D:\a\_temp\msys\msys64\usr\bin\patch.exe
|
||||
PATCH: C:\msys64\usr\bin\patch.exe
|
||||
steps:
|
||||
- run: md build
|
||||
working-directory:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
id: setup-msys2
|
||||
with:
|
||||
update: true
|
||||
install: >-
|
||||
patch
|
||||
if: ${{ matrix.os != 'windows-2019' }}
|
||||
- name: patch path
|
||||
shell: msys2 {0}
|
||||
run: echo PATCH=$(cygpath -wa $(command -v patch)) >> $GITHUB_ENV
|
||||
if: ${{ steps.setup-msys2.outcome == 'success' }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: C:\vcpkg\downloads
|
||||
|
|
Loading…
Add table
Reference in a new issue