mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 08:35:21 +00:00
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:
1
.github/workflows/mac.yml
vendored
1
.github/workflows/mac.yml
vendored
@@ -88,6 +88,7 @@ jobs:
|
|||||||
echo $MIN_MAC >> CACHE_KEY.txt
|
echo $MIN_MAC >> CACHE_KEY.txt
|
||||||
echo $PREFIX >> CACHE_KEY.txt
|
echo $PREFIX >> CACHE_KEY.txt
|
||||||
echo $MANUAL_CACHING >> CACHE_KEY.txt
|
echo $MANUAL_CACHING >> CACHE_KEY.txt
|
||||||
|
echo "$GITHUB_WORKSPACE" >> CACHE_KEY.txt
|
||||||
if [ "$AUTO_CACHING" == "1" ]; then
|
if [ "$AUTO_CACHING" == "1" ]; then
|
||||||
thisFile=$REPO_NAME/.github/workflows/mac.yml
|
thisFile=$REPO_NAME/.github/workflows/mac.yml
|
||||||
echo `md5 -q $thisFile` >> CACHE_KEY.txt
|
echo `md5 -q $thisFile` >> CACHE_KEY.txt
|
||||||
|
Reference in New Issue
Block a user