mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 14:26:48 +00:00
Add template for minimal image and update tutorial (#7461)
This commit is contained in:
committed by
GitHub
parent
8ff6083faf
commit
e62bcae84b
@@ -24,5 +24,11 @@ echo "PATH=$ENVPATH" | sudo tee -a /etc/environment
|
||||
echo "Updated /etc/environment: $(cat /etc/environment)"
|
||||
|
||||
# Clean yarn and npm cache
|
||||
yarn cache clean
|
||||
npm cache clean --force
|
||||
if yarn --version > /dev/null
|
||||
then
|
||||
yarn cache clean
|
||||
fi
|
||||
if npm --version
|
||||
then
|
||||
npm cache clean --force
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user