From 504b7261c4a2da424d67b1fe75b70f69f8bb023b Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Sun, 28 Apr 2024 15:34:05 +0800 Subject: [PATCH] Update github workflows --- .github/workflows/gradle.yml | 6 +++--- .github/workflows/release.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index ebaf813..b7884ac 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['11'] + java: ['8', '11'] env: WORKSPACE: ${{ github.workspace }} steps: @@ -48,11 +48,11 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - - name: Set up JDK 11 + - name: Set up JDK 8 uses: actions/setup-java@v4 with: distribution: 'adopt' - java-version: 11 + java-version: 8 - name: Generate secring file env: SECRING_FILE: ${{ secrets.SECRING_FILE }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a68915..21250fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['11'] + java: ['8'] env: GIT_USER_NAME: rainboyan GIT_USER_EMAIL: rain@rainboyan.com