Skip to content

Commit 1e70819

Browse files
committed
ci: disable gradle cache and configuration cache to drop stale aliyun mirror metadata
1 parent ee52eec commit 1e70819

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ jobs:
4949
distribution: 'zulu'
5050
java-version: 24
5151
- uses: gradle/actions/setup-gradle@v4
52+
with:
53+
cache-disabled: true
5254
- name: Build Debug APK
53-
run: ./gradlew :app:assembleDebug --stacktrace
55+
run: ./gradlew :app:assembleDebug --stacktrace --no-configuration-cache

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
distribution: 'zulu'
2626
java-version: 24
2727
- uses: gradle/actions/setup-gradle@v4
28+
with:
29+
cache-disabled: true
2830
- name: Build APK
29-
run: ./gradlew :app:assembleRelease --stacktrace
31+
run: ./gradlew :app:assembleRelease --stacktrace --no-configuration-cache
3032
- name: Create Release
3133
uses: ncipollo/release-action@v1
3234
with:

0 commit comments

Comments
 (0)