[Windows CI] Set PATCH path
This commit is contained in:
parent
a2831cf247
commit
3711467362
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
@ -18,15 +18,21 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
VCVARS: ${{ matrix.vcvars }}
|
VCVARS: ${{ matrix.vcvars }}
|
||||||
PATCH: D:\a\_temp\msys\msys64\usr\bin\patch.exe
|
PATCH: C:\msys64\usr\bin\patch.exe
|
||||||
steps:
|
steps:
|
||||||
- run: md build
|
- run: md build
|
||||||
working-directory:
|
working-directory:
|
||||||
- uses: msys2/setup-msys2@v2
|
- uses: msys2/setup-msys2@v2
|
||||||
|
id: setup-msys2
|
||||||
with:
|
with:
|
||||||
update: true
|
update: true
|
||||||
install: >-
|
install: >-
|
||||||
patch
|
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
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: C:\vcpkg\downloads
|
path: C:\vcpkg\downloads
|
||||||
|
Loading…
x
Reference in New Issue
Block a user