From a1582eb1c2305e3d5c6088f2a40b362ea297da48 Mon Sep 17 00:00:00 2001 From: Anush008 Date: Wed, 28 Feb 2024 22:40:09 +0530 Subject: [PATCH] ci: Use Java 8 --- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1490350..3829093 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,11 +23,11 @@ jobs: echo "AUTHOR_EMAIL=$AUTHOR_EMAIL" >> $GITHUB_OUTPUT id: author_info - - name: Set up Java 17 - uses: actions/setup-java@v3 + - name: Set up Java 8 + - uses: actions/setup-java@v3 with: - distribution: 'oracle' - java-version: '17' + java-version: "8" + distribution: temurin server-id: ossrh server-username: OSSRH_JIRA_USERNAME server-password: OSSRH_JIRA_PASSWORD diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a379df6..65f3db2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,4 +21,4 @@ jobs: - name: Run the Maven tests run: mvn test - name: Generate assembly fat JAR - run: mvn clean package -Passembly + run: mvn clean package