diff --git a/.github/workflows/deploy-snapshot.yml b/.github/workflows/deploy-snapshot.yml
index 654bfe2..834bd5d 100644
--- a/.github/workflows/deploy-snapshot.yml
+++ b/.github/workflows/deploy-snapshot.yml
@@ -7,14 +7,12 @@ jobs:
   publish:
     runs-on: ubuntu-latest
     if: ${{ !contains(github.event.head_commit.message, 'Prepare for release') }}
-    strategy:
-      matrix:
-        java-version: [ 17 ]
     steps:
       - name: Set up Java
         uses: actions/setup-java@v2
         with:
-          java-version: ${{ matrix.java-version }}
+          java-version: '17'
+          distribution: 'temurin'
       - name: Show java
         run: |
           echo $JAVA_HOME
diff --git a/.github/workflows/merge-check.yml b/.github/workflows/merge-check.yml
index 3711fc6..c3210d3 100644
--- a/.github/workflows/merge-check.yml
+++ b/.github/workflows/merge-check.yml
@@ -13,14 +13,12 @@ jobs:
     name: Build project
     runs-on: ubuntu-latest
     if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
-    strategy:
-      matrix:
-        java-version: [ 17 ]
     steps:
       - name: Set up Java
         uses: actions/setup-java@v2
         with:
-          java-version: ${{ matrix.java-version }}
+          java-version: '17'
+          distribution: 'temurin'
       - name: Show java
         run: |
           echo $JAVA_HOME
diff --git a/.github/workflows/publish-maven-central.yml b/.github/workflows/publish-maven-central.yml
index 77bb2b5..e8c9cb1 100644
--- a/.github/workflows/publish-maven-central.yml
+++ b/.github/workflows/publish-maven-central.yml
@@ -7,14 +7,12 @@ on:
 jobs:
   publish:
     runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        java-version: [ 17 ]
     steps:
       - name: Set up Java
         uses: actions/setup-java@v2
         with:
-         java-version: ${{ matrix.java-version }}
+          java-version: '17'
+          distribution: 'temurin'
       - name: Show java
         run: |
             echo $JAVA_HOME