Skip to content

Commit 18b0ad6

Browse files
committed
Clean up Github runners disk
1 parent df880be commit 18b0ad6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/toolkit-package.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,29 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14+
15+
# Remove unnecessary files and programs to avoid running out of disk space in the runner
16+
- name: Free disk space
17+
run: |
18+
sudo rm -rf \
19+
/usr/local/aws-cli \
20+
/usr/local/aws-sam-cli \
21+
/usr/local/julia1.12.2 \
22+
/usr/local/lib/android \
23+
/usr/local/lib/heroku \
24+
/usr/local/lib/node_modules \
25+
/opt/hostedtoolcache/CodeQL \
26+
/opt/hostedtoolcache/go \
27+
/opt/hostedtoolcache/PyPy \
28+
/opt/hostedtoolcache/node \
29+
/usr/local/bin/oc \
30+
/usr/local/share/chromium \
31+
/usr/local/share/powershell \
32+
/opt/az \
33+
/opt/microsoft/msedge \
34+
/opt/microsoft/powershell
35+
sudo apt purge -y firefox google-chrome-stable microsoft-edge-stable
36+
1437
- name: Checkout repository
1538
uses: actions/checkout@v4
1639
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
- Cleanup Github runners before packaging Toolkit
910

1011
### Added
1112
- Created 1.2.4 build

0 commit comments

Comments
 (0)