Skip to content

Commit 9486712

Browse files
committed
Maximize build space by manually removing unnecessary resources
1 parent c89ec0a commit 9486712

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/3-multi-runtime.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,15 @@ jobs:
5454
runs-on: ubuntu-22.04
5555
continue-on-error: false
5656
steps:
57-
- name: Maximize build space
58-
uses: easimon/maximize-build-space@master
59-
with:
60-
root-reserve-mb: 86016
61-
swap-size-mb: 1024
62-
remove-dotnet: 'true'
63-
remove-android: 'true'
64-
remove-haskell: 'true'
65-
remove-codeql: 'true'
6657
- name: Checkout
6758
uses: actions/checkout@v3
6859
- name: "Setup"
6960
run: ./tools/github/setup.sh
61+
- name: Maximize free space
62+
run: >
63+
sudo rm -rf /usr/share/dotnet
64+
sudo rm -rf /usr/local/.ghcup
65+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
7066
- name: Check free space
7167
run: df -h
7268
- id: tests

0 commit comments

Comments
 (0)