mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
change to find search
This commit is contained in:
@@ -18,11 +18,7 @@ sudo chmod ugo+rwx /usr/local/opt/$USER/scripts
|
||||
sudo chown $USER:admin /usr/local/opt/$USER
|
||||
mv $HOME/image-generation/assets/* /usr/local/opt/$USER/scripts
|
||||
|
||||
executableScripts=$(ls /usr/local/opt/$USER/scripts | grep "*\.sh")
|
||||
for script in $executableScripts
|
||||
do
|
||||
chmod +x $script
|
||||
done
|
||||
find /usr/local/opt/$USER/scripts -type f -name "*\.sh" -exec chmod +x {} \;
|
||||
|
||||
# Clean up npm cache which collected during image-generation
|
||||
# we have to do that here because `npm install` is run in a few different places during image-generation
|
||||
|
||||
Reference in New Issue
Block a user