From e1c31d30a0dea0577810e251dea30be6fac156e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C7=B3=EF=BF=BD=EF=BF=BD?= <1101766085@qq.com> Date: Wed, 19 Jun 2024 11:07:42 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E8=B0=83=E6=95=B4=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renovate.json => .github/renovate.json | 0 .github/workflows/publish-snapshot-2.7.x.yml | 6 +++--- .github/workflows/publish-snapshot.yml | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) rename renovate.json => .github/renovate.json (100%) diff --git a/renovate.json b/.github/renovate.json similarity index 100% rename from renovate.json rename to .github/renovate.json diff --git a/.github/workflows/publish-snapshot-2.7.x.yml b/.github/workflows/publish-snapshot-2.7.x.yml index 20f1deb0..c492424d 100644 --- a/.github/workflows/publish-snapshot-2.7.x.yml +++ b/.github/workflows/publish-snapshot-2.7.x.yml @@ -13,7 +13,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v4 with: - distribution: 'temurin' + distribution: 'zulu' java-version: 8 - name: Cache Gradle packages uses: actions/cache@v4 @@ -24,10 +24,10 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | ${{ runner.os }}-gradle- - - name: Setup Gradle 8.5 + - name: Setup Gradle 8.8 uses: gradle/actions/setup-gradle@v3 with: - gradle-version: 8.5 + gradle-version: 8.8 - name: Build with Gradle run: gradle publishSnapshot env: diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 755f868d..c0a4650e 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -13,6 +13,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v4 with: + distribution: 'zulu' java-version: 17 - name: Cache Gradle packages uses: actions/cache@v4 @@ -23,10 +24,10 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | ${{ runner.os }}-gradle- - - name: Setup Gradle 8.5 + - name: Setup Gradle 8.8 uses: gradle/actions/setup-gradle@v3 with: - gradle-version: 8.5 + gradle-version: 8.8 - name: Build with Gradle run: gradle publishSnapshot env: