fix(ci): drop gradle cache from Android JDK setup (#73)
`actions/setup-java` with `cache: gradle` hard-fails because gen/android (the Gradle project) is gitignored and only generated by `tauri android init` later in the job — there are no gradle files at checkout to key the cache on. Remove it; rust-cache + npm cache still apply. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
3d5d4d0cf2
commit
f08637db82
1 file changed
+4
-1
@@ -40,7 +40,10 @@ jobs:
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
cache: gradle
|
||||
# No `cache: gradle` — the Gradle project lives in gen/android, which
|
||||
# is gitignored and only created later by `tauri android init`, so
|
||||
# there are no gradle files at checkout for setup-java to key on
|
||||
# (it hard-errors otherwise). rust-cache + npm cache still apply.
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v6
|
||||
|
||||
Reference in new issue
Block a user