Skip to content

Commit 4ae3c76

Browse files
committed
Fix disk cleanup.
1 parent a183502 commit 4ae3c76

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pr-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ jobs:
3333

3434
- uses: gradle/wrapper-validation-action@v1
3535

36-
# Cleanup directories before proceeding with setup
37-
- name: Clean up old installations
38-
if: ${{ matrix.os != 'windows-latest' }}
39-
run: |
40-
sudo rm -rf /usr/local/lib/android
41-
sudo rm -rf /usr/share/dotnet
42-
4336
- uses: ./.github/actions/patch-dependencies
4437
with:
4538
run_tests: "true"
@@ -70,6 +63,13 @@ jobs:
7063

7164
- uses: gradle/wrapper-validation-action@v1
7265

66+
# Cleanup directories before proceeding with setup
67+
- name: Clean up old installations
68+
if: ${{ matrix.os != 'windows-latest' }}
69+
run: |
70+
sudo rm -rf /usr/local/lib/android
71+
sudo rm -rf /usr/share/dotnet
72+
7373
# cache local patch outputs
7474
- name: Cache local Maven repository
7575
uses: actions/cache@v3

0 commit comments

Comments
 (0)