Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tsoc
superbenchmark
Commits
bbb86c4a
Unverified
Commit
bbb86c4a
authored
Feb 23, 2023
by
Yifan Xiong
Committed by
GitHub
Feb 23, 2023
Browse files
CI/CD - Free disk space in GitHub Action VHD (#481)
Free more disk space in GitHub Action VHD.
parent
ec7f502c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.github/workflows/build-image.yml
.github/workflows/build-image.yml
+2
-1
No files found.
.github/workflows/build-image.yml
View file @
bbb86c4a
...
...
@@ -58,10 +58,11 @@ jobs:
-
name
:
Free disk space
run
:
|
mkdir /tmp/emptydir
for dir in /usr/share/
dotnet
/usr/local/lib/android /opt/ghc; do
for dir in /usr/share/
swift /usr/share/dotnet /usr/local/share/powershell /usr/local/share/chromium
/usr/local/lib/android /opt/ghc; do
sudo rsync -a --delete /tmp/emptydir/ ${dir}
done
sudo apt-get clean
sudo docker rmi $(sudo docker images --format "{{.Repository}}:{{.Tag}}" --filter=reference="node" --filter=reference="buildpack-deps")
df -h
-
name
:
Prepare metadata
id
:
metadata
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment