mirror of
https://github.com/julia-actions/cache.git
synced 2026-02-14 01:56:54 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b1bf4d8a1 |
@@ -68,6 +68,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
|
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
|
||||||
depot="${depot/#\~/$USERPROFILE}" # Windows paths
|
depot="${depot/#\~/$USERPROFILE}" # Windows paths
|
||||||
|
depot="${depot//\\//}" # Replace backslashes with forward slashes
|
||||||
else
|
else
|
||||||
depot="${depot/#\~/$HOME}" # Unix-like paths
|
depot="${depot/#\~/$HOME}" # Unix-like paths
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user