File tree Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Expand file tree Collapse file tree 2 files changed +78
-0
lines changed Original file line number Diff line number Diff line change 3232 with :
3333 username : ${{ secrets.DOCKERHUB_USERNAME }}
3434 password : ${{ secrets.DOCKERHUB_TOKEN }}
35+ - name : Free up disk space
36+ run : |
37+ # Remove Java (JDKs)
38+ sudo rm -rf /usr/lib/jvm
39+
40+ # Remove .NET SDKs
41+ sudo rm -rf /usr/share/dotnet
42+
43+ # Remove Swift toolchain
44+ sudo rm -rf /usr/share/swift
45+
46+ # Remove Haskell (GHC)
47+ sudo rm -rf /usr/local/.ghcup
48+
49+ # Remove Julia
50+ sudo rm -rf /usr/local/julia*
51+
52+ # Remove Android SDKs
53+ sudo rm -rf /usr/local/lib/android
54+
55+ # Remove Chromium
56+ sudo rm -rf /usr/local/share/chromium
57+
58+ # Remove Microsoft/Edge and Google Chrome builds
59+ sudo rm -rf /opt/microsoft /opt/google
60+
61+ # Remove Azure CLI
62+ sudo rm -rf /opt/az
63+
64+ # Remove PowerShell
65+ sudo rm -rf /usr/local/share/powershell
66+
67+ # Remove CodeQL and other toolcaches
68+ sudo rm -rf /opt/hostedtoolcache
69+
70+ docker system prune -af || true
71+ docker builder prune -af || true
72+ df -h
73+
3574 - name : Release
3675 env :
3776 VERSION : ${{ github.event.inputs.version }}
Original file line number Diff line number Diff line change 3232 with :
3333 username : ${{ secrets.DOCKERHUB_USERNAME }}
3434 password : ${{ secrets.DOCKERHUB_TOKEN }}
35+ - name : Free up disk space
36+ run : |
37+ # Remove Java (JDKs)
38+ sudo rm -rf /usr/lib/jvm
39+
40+ # Remove .NET SDKs
41+ sudo rm -rf /usr/share/dotnet
42+
43+ # Remove Swift toolchain
44+ sudo rm -rf /usr/share/swift
45+
46+ # Remove Haskell (GHC)
47+ sudo rm -rf /usr/local/.ghcup
48+
49+ # Remove Julia
50+ sudo rm -rf /usr/local/julia*
51+
52+ # Remove Android SDKs
53+ sudo rm -rf /usr/local/lib/android
54+
55+ # Remove Chromium
56+ sudo rm -rf /usr/local/share/chromium
57+
58+ # Remove Microsoft/Edge and Google Chrome builds
59+ sudo rm -rf /opt/microsoft /opt/google
60+
61+ # Remove Azure CLI
62+ sudo rm -rf /opt/az
63+
64+ # Remove PowerShell
65+ sudo rm -rf /usr/local/share/powershell
66+
67+ # Remove CodeQL and other toolcaches
68+ sudo rm -rf /opt/hostedtoolcache
69+
70+ docker system prune -af || true
71+ docker builder prune -af || true
72+ df -h
73+
3574 - name : Release
3675 env :
3776 VERSION : ${{ github.event.inputs.version }}
You can’t perform that action at this time.
0 commit comments