Fix macOS cache validating

macOS action has runner version in the workdir path, it should be a part of the cache key
This commit is contained in:
Ilya Fedin 2020-05-30 13:11:40 +04:00 committed by John Preston
parent 586744c112
commit db528b39e1
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ jobs:
echo $MIN_MAC >> CACHE_KEY.txt
echo $PREFIX >> CACHE_KEY.txt
echo $MANUAL_CACHING >> CACHE_KEY.txt
echo "$GITHUB_WORKSPACE" >> CACHE_KEY.txt
if [ "$AUTO_CACHING" == "1" ]; then
thisFile=$REPO_NAME/.github/workflows/mac.yml
echo `md5 -q $thisFile` >> CACHE_KEY.txt