From 47d3fc90a31298377765f88097b504e597862fcd Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 16 Jul 2024 20:48:52 +0800 Subject: [PATCH] :hammer: Fix gh actions workflow android missing java --- .github/workflows/nightly.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6575430..36b2a5b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,6 +32,10 @@ jobs: with: channel: stable cache: true + - uses: actions/setup-java@v4 + with: + distribution: "zulu" + java-version: "17" - run: flutter pub get - run: flutter build apk --split-per-abi - name: Archive production artifacts @@ -56,4 +60,3 @@ jobs: with: name: build-output-windows path: build/windows -