mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 10:07:30 +08:00
Merge pull request #1876 from LeonidLapshin/spotlight
add spotlight reindex
This commit is contained in:
@@ -30,4 +30,10 @@ npm cache clean --force
|
||||
yarn cache clean
|
||||
|
||||
# Clean up temporary directories
|
||||
rm -rf ~/utils ~/image-generation
|
||||
rm -rf ~/utils ~/image-generation
|
||||
|
||||
# Erase all indexes and wait until the rebuilding process ends,
|
||||
# for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish
|
||||
sudo mdutil -E /
|
||||
sudo log stream | grep -q -E 'mds.*Released.*BackgroundTask' || true
|
||||
echo "Indexing completed"
|
||||
Reference in New Issue
Block a user