mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
add build vm assets
This commit is contained in:
@@ -12,6 +12,12 @@ fi
|
||||
# Put documentation to $HOME root
|
||||
cp $HOME/image-generation/output/software-report/systeminfo.txt $HOME/image-generation/output/software-report/systeminfo.md $HOME/
|
||||
|
||||
# Put build vm assets scripts to proper directory
|
||||
sudo mkdir -p /usr/local/opt/$USER/scripts
|
||||
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
|
||||
|
||||
# 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
|
||||
npm cache clean --force
|
||||
|
||||
Reference in New Issue
Block a user