We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb42722 commit a824708Copy full SHA for a824708
1 file changed
.github/workflows/bazel.yml
@@ -96,6 +96,19 @@ jobs:
96
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
97
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
98
steps:
99
+ - name: Remove extra tools to free disk space
100
+ if: inputs.os == 'ubuntu'
101
+ run: |
102
+ echo "Removing extra tools to free disk space..."
103
+ echo "Space before: $(df -BG / | tail -1 | awk '{print $4}')"
104
+ sudo rm -rf /opt/ghc || true
105
+ sudo rm -rf /usr/local/.ghcup || true
106
+ sudo rm -rf /usr/local/share/boost || true
107
+ sudo rm -rf /usr/share/swift || true
108
+ sudo rm -rf /usr/local/julia* || true
109
+ sync
110
+ after=$(df -BG / | tail -1 | awk '{print $4}')
111
+ echo "Space after: ${after}"
112
- name: Calculate fetch depth
113
id: depth
114
shell: bash
0 commit comments