From 8333f979c875bce1bfc43fe62f161b4e7fd2f8ff Mon Sep 17 00:00:00 2001 From: Gustavo Maciel Date: Mon, 2 Sep 2024 21:46:24 -0300 Subject: [PATCH] ci: fix build Java 17 --- .github/workflows/manual_release_android.yml | 8 +++++++- .github/workflows/release_android.yml | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/manual_release_android.yml b/.github/workflows/manual_release_android.yml index 05e3a4f2..cfee87d9 100644 --- a/.github/workflows/manual_release_android.yml +++ b/.github/workflows/manual_release_android.yml @@ -20,7 +20,13 @@ jobs: steps: - uses: actions/checkout@v2 - + + - name: Set up Java + uses: actions/setup-java@v2 + with: + java-version: 17 + distribution: "temurin" + - name: Verify current inputs godot_version run: | CURRENT_GODOT_VERSION=${{ github.event.inputs.godot_version }} diff --git a/.github/workflows/release_android.yml b/.github/workflows/release_android.yml index 800e5a45..b59b3231 100644 --- a/.github/workflows/release_android.yml +++ b/.github/workflows/release_android.yml @@ -14,6 +14,12 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.ref_name }} + + - name: Set up Java + uses: actions/setup-java@v2 + with: + java-version: 17 + distribution: "temurin" - name: Set plugin version on env run: |