Azure: fix MinGW-w64 caching (#239)

This commit is contained in:
Ștefan Talpalaru 2020-06-23 16:38:17 +02:00 committed by GitHub
parent ee6e545878
commit 83b6ead857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ steps:
- task: CacheBeta@1
displayName: 'cache MinGW-w64'
inputs:
key: mingwCache | 8_1_0 | $(PLATFORM) | "v1"
key: mingwCache | 8_1_0 | $(PLATFORM) | "v2"
path: mingwCache
- powershell: |
@ -53,7 +53,6 @@ steps:
mkdir -p mingwCache
cd mingwCache
if [[ ! -e "$MINGW_FILE" ]]; then
rm -f *.7z
curl -OLsS "$MINGW_URL"
fi
7z x -y -bd "$MINGW_FILE" >/dev/null