1
0
Fork 0
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:
Nobuyoshi Nakada 2021-08-26 02:49:49 +09:00
parent a2831cf247
commit 3711467362
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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