From 974eb2c029de30ebbe6d35a27a3514eacd9f682e Mon Sep 17 00:00:00 2001 From: ag2s20150909 Date: Tue, 14 May 2024 12:10:05 +0800 Subject: [PATCH] fix --- .github/workflows/release.yml | 6 ++++++ .github/workflows/test.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b5ee7d..861c1dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,12 @@ jobs: run: | rm -rf ./release/* + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 + - name: Set up Gradle uses: gradle/actions/setup-gradle@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c745621..24e11e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,12 @@ jobs: run: | rm -rf ./release/* + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 17 + - name: Set up Gradle uses: gradle/actions/setup-gradle@v3