From 49bf78ae10086978ff3cee472b8a1893bc6af77f Mon Sep 17 00:00:00 2001 From: Mohammad Sarbandi Date: Sat, 1 Jan 2022 21:55:07 +0100 Subject: [PATCH] Swtich pipeline to temurin jdk distro --- .github/workflows/ci.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6d1c905..ba28518 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,6 +18,6 @@ jobs: uses: actions/setup-java@v2 with: java-version: '9' - distribution: 'adopt' + distribution: 'temurin' - name: Build run: mvn --batch-mode --update-snapshots verify diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ec10526..8140643 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: '9' - distribution: 'adopt' + distribution: 'temurin' - name: Version run: mvn versions:set "-DnewVersion=${{ github.ref_name }}" - name: Build @@ -23,7 +23,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: '9' - distribution: 'adopt' + distribution: 'temurin' server-id: ossrh server-username: MVN_USER server-password: MVN_TOKEN