From 4ea5d6510fbe7ad20fe463067dca5f540b8e8ac4 Mon Sep 17 00:00:00 2001 From: dyhkwong <50692134+dyhkwong@users.noreply.github.com> Date: Tue, 17 Dec 2024 21:53:56 +0800 Subject: [PATCH] GitHub Actions: also setup JDK 21 for gomobile --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48a1e4e7..cc18182a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,12 @@ jobs: with: go-version: 1.23.4 cache-dependency-path: "**/go.sum" + - name: Setup Java + uses: actions/setup-java@v4 + if: steps.cache.outputs.cache-hit != 'true' + with: + distribution: 'temurin' + java-version: 21 - name: LibCore Cache id: cache uses: actions/cache@v4