Azure: fix MinGW-w64 caching (#239)
This commit is contained in:
parent
ee6e545878
commit
83b6ead857
|
@ -36,7 +36,7 @@ steps:
|
||||||
- task: CacheBeta@1
|
- task: CacheBeta@1
|
||||||
displayName: 'cache MinGW-w64'
|
displayName: 'cache MinGW-w64'
|
||||||
inputs:
|
inputs:
|
||||||
key: mingwCache | 8_1_0 | $(PLATFORM) | "v1"
|
key: mingwCache | 8_1_0 | $(PLATFORM) | "v2"
|
||||||
path: mingwCache
|
path: mingwCache
|
||||||
|
|
||||||
- powershell: |
|
- powershell: |
|
||||||
|
@ -53,7 +53,6 @@ steps:
|
||||||
mkdir -p mingwCache
|
mkdir -p mingwCache
|
||||||
cd mingwCache
|
cd mingwCache
|
||||||
if [[ ! -e "$MINGW_FILE" ]]; then
|
if [[ ! -e "$MINGW_FILE" ]]; then
|
||||||
rm -f *.7z
|
|
||||||
curl -OLsS "$MINGW_URL"
|
curl -OLsS "$MINGW_URL"
|
||||||
fi
|
fi
|
||||||
7z x -y -bd "$MINGW_FILE" >/dev/null
|
7z x -y -bd "$MINGW_FILE" >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue