🔨 Fix gh actions workflow android missing java

This commit is contained in:
LittleSheep 2024-07-16 20:48:52 +08:00
parent e38d8339f1
commit 47d3fc90a3

View File

@ -32,6 +32,10 @@ jobs:
with: with:
channel: stable channel: stable
cache: true cache: true
- uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: "17"
- run: flutter pub get - run: flutter pub get
- run: flutter build apk --split-per-abi - run: flutter build apk --split-per-abi
- name: Archive production artifacts - name: Archive production artifacts
@ -56,4 +60,3 @@ jobs:
with: with:
name: build-output-windows name: build-output-windows
path: build/windows path: build/windows