Inherit PATH from environment in Actions

Remove build cache of the msys2 installation in Travis CI.
This commit is contained in:
Tindy X
2020-09-18 14:29:49 +08:00
parent c0c99dce67
commit 5c8ae14abc
2 changed files with 3 additions and 2 deletions

View File

@@ -56,6 +56,8 @@ jobs:
with:
update: true
install: base-devel git mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-libevent mingw-w64-x86_64-pcre2
msystem: MINGW64
path-type: inherit
- name: Build
run: bash scripts/build.windows.release.sh
- name: Upload
@@ -80,6 +82,7 @@ jobs:
update: true
install: base-devel git mingw-w64-i686-gcc mingw-w64-i686-cmake mingw-w64-i686-libevent mingw-w64-i686-pcre2
msystem: MINGW32
path-type: inherit
- name: Build
run: bash scripts/build.windows.release.sh
- name: Upload

View File

@@ -103,7 +103,6 @@ jobs:
cache:
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
script:
- $mingw64 bash scripts/build.windows.release.sh
before_deploy:
@@ -138,7 +137,6 @@ jobs:
cache:
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
script:
- $mingw32 bash scripts/build.windows.release.sh
before_deploy: