Skip to content

Commit b9b5f03

Browse files
committed
Move Gradle clean to post-debug/pre-release
- Avoid poisoned cache for release variant only - Preserve hosted agent free disk space - Fix: java.io.IOException: No space left on device #639
1 parent 634076f commit b9b5f03

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

β€Ž.github/workflows/gradle.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,18 @@ jobs:
6666
cd cmake-3.23.1-linux-x86_64
6767
./bin/cmake --version
6868
69-
# Avoid poisoned cache problems
70-
- name: Delete Android build pre-computed outputs
69+
- name: Build application Debug APK with Gradle
7170
uses: gradle/[email protected]
7271
with:
73-
arguments: clean
72+
arguments: assembleDebug
7473
build-root-directory: android
7574

76-
- name: Build application Debug APK with Gradle
75+
# Avoid release poisoned cache problems
76+
# Preserve hosted agent free disk space
77+
- name: Delete Android build pre-computed outputs
7778
uses: gradle/[email protected]
7879
with:
79-
arguments: assembleDebug
80+
arguments: clean
8081
build-root-directory: android
8182

8283
- name: Build application Release APK with Gradle

0 commit comments

Comments
Β (0)