File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed
Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release
33
44on :
55 push :
6- tags : ["v*" ]
6+ tags : ['v*' ]
77
88# Releases need permissions to read and write the repository contents.
99# GitHub considers creating releases and uploading assets as writing contents.
1414 goreleaser :
1515 runs-on : ubuntu-24.04
1616 steps :
17+ - name : Free up disk space
18+ run : |
19+ Remove Java (JDKs)
20+ sudo rm -rf /usr/lib/jvm
21+
22+ # Remove .NET SDKs
23+ sudo rm -rf /usr/share/dotnet
24+
25+ # Remove Swift toolchain
26+ sudo rm -rf /usr/share/swift
27+
28+ # Remove Haskell (GHC)
29+ sudo rm -rf /usr/local/.ghcup
30+
31+ # Remove Julia
32+ sudo rm -rf /usr/local/julia*
33+
34+ # Remove Android SDKs
35+ sudo rm -rf /usr/local/lib/android
36+
37+ # Remove Chromium (optional if not using for browser tests)
38+ sudo rm -rf /usr/local/share/chromium
39+
40+ # Remove Microsoft/Edge and Google Chrome builds
41+ sudo rm -rf /opt/microsoft /opt/google
42+
43+ # Remove Azure CLI
44+ sudo rm -rf /opt/az
45+
46+ # Remove PowerShell
47+ sudo rm -rf /usr/local/share/powershell
48+
49+ docker system prune -af || true
50+ docker builder prune -af || true
51+ df -h
1752 - name : Checkout
1853 uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1954 with :
You can’t perform that action at this time.
0 commit comments