Skip to content

Commit f5970eb

Browse files
committed
Only run the disk cleanup on ubuntu
1 parent 53c078b commit f5970eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ jobs:
9393
test: false
9494

9595
steps:
96-
- name: Free Disk Space (Ubuntu)
97-
uses: jlumbroso/free-disk-space@main
96+
- if: matrix.test && matrix.os == 'ubuntu-latest'
97+
name: Free Disk Space (Ubuntu)
98+
uses: jlumbroso/free-disk-space@v1.3.1
9899
with:
99100
# this might remove tools that are actually needed,
100101
# if set to "true" but frees about 6 GB
@@ -108,6 +109,7 @@ jobs:
108109
large-packages: true
109110
docker-images: true
110111
swap-storage: true
112+
111113
- uses: actions/checkout@v3
112114

113115
- uses: ./.github/actions/setup-build

0 commit comments

Comments
 (0)