Skip to content

Commit

Permalink
Add macos version to cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 16, 2024
1 parent 76779d7 commit 5c5c837
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ data() {
dir=$(extension_dir_linux "$api_version")
sudo mkdir -p "$dir/deps" && fix_ownership "$dir"
elif [ "$os" = "Darwin" ]; then
os=$os-$arch
os_version=$(sw_vers -productVersion)
os=$os-$os_version-$arch
api_version=$(get_api_version)
dir=$(extension_dir_darwin "$api_version")
sudo mkdir -p "$dir/deps" && fix_ownership "$dir"
Expand Down

0 comments on commit 5c5c837

Please sign in to comment.