Skip to content

Commit 944a091

Browse files
Copilot0xrinegade
andcommitted
Fix Android build: Update Java version from 17 to 21 and add craco verification
Co-authored-by: 0xrinegade <[email protected]>
1 parent 8fb2aa1 commit 944a091

File tree

3 files changed

+672
-976
lines changed

3 files changed

+672
-976
lines changed

.github/workflows/build-all-platforms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
uses: actions/setup-java@v4
8686
with:
8787
distribution: 'temurin'
88-
java-version: '17'
88+
java-version: '21'
8989

9090
- name: Install dependencies
9191
run: |
@@ -228,7 +228,7 @@ jobs:
228228
uses: actions/setup-java@v4
229229
with:
230230
distribution: 'temurin'
231-
java-version: '17'
231+
java-version: '21'
232232

233233
- name: Install dependencies
234234
run: |

.github/workflows/build-android.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,14 @@ jobs:
4242
for i in 1 2 3; do
4343
yarn install --frozen-lockfile && break || sleep 10
4444
done
45-
45+
46+
- name: Verify craco installation
47+
run: |
48+
echo "Checking craco installation..."
49+
yarn list @craco/craco
50+
echo "Checking if craco command is available..."
51+
npx craco --version || echo "Craco not found via npx"
52+
4653
- name: Build web application
4754
run: yarn build
4855

@@ -74,7 +81,7 @@ jobs:
7481
uses: actions/setup-java@v4
7582
with:
7683
distribution: 'temurin'
77-
java-version: '17'
84+
java-version: '21'
7885

7986
- name: Setup Android SDK
8087
uses: android-actions/setup-android@v3

0 commit comments

Comments
 (0)