File tree Expand file tree Collapse file tree 3 files changed +18
-14
lines changed
Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6464 with :
6565 fetch-depth : 0 # required for tag metadata
6666
67- - name : Free disk space
68- uses : ./.github/actions/free-disk-space
67+ - run : ./scripts/free-disk-space.sh
6968
7069 - name : Setup Go
7170 uses : actions/setup-go@v5
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ #
3+ # Copyright The OpenTelemetry Authors
4+ # SPDX-License-Identifier: Apache-2.0
5+
6+ echo " Available disk space before:"
7+ df -h /
8+
9+ # The Android SDK is the biggest culprit for the lack of disk space in CI.
10+ # It is installed into /usr/local/lib/android manually (ie. not with apt) by this script:
11+ # https://github.com/actions/runner-images/blob/main/images/ubuntu/scripts/build/install-android-sdk.sh
12+ # so let's delete the directory manually.
13+ echo " Deleting unused Android SDK and tools..."
14+ sudo rm -rf /usr/local/lib/android
15+
16+ echo " Available disk space after:"
17+ df -h /
You can’t perform that action at this time.
0 commit comments