From 85514c6527a65a081a07f282ca6bf6194ef0993b Mon Sep 17 00:00:00 2001 From: 10bits Date: Sun, 7 May 2023 13:07:04 +0800 Subject: [PATCH] update --- .github/workflows/legado.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/legado.yml b/.github/workflows/legado.yml index f2ce6184..31124d46 100644 --- a/.github/workflows/legado.yml +++ b/.github/workflows/legado.yml @@ -28,7 +28,14 @@ jobs: git checkout $LATEST_TAG echo ::set-output name=if_release::true fi - + + - name: Set up JDK 17 + if: steps.check_release.outputs.if_release == 'true' + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 17 + - name: build apk id: build_apk if: steps.check_release.outputs.if_release == 'true' @@ -83,4 +90,4 @@ jobs: run: | source $GITHUB_WORKSPACE/action_util.sh update_info - \ No newline at end of file +