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