diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a72c23ff2..ac3d084ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: - name: Set up OpenJDK ${{ env.JDK_VER }} uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: ${{ env.JDK_VER }} - name: Set up Dapr CLI run: wget -q ${{ env.DAPR_INSTALL_URL }} -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }} @@ -158,7 +158,7 @@ jobs: - name: Set up OpenJDK ${{ env.JDK_VER }} uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: ${{ env.JDK_VER }} - name: Get pom parent version run: | diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ffe5a7168..ef6bc85b0 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -47,7 +47,7 @@ jobs: - name: Set up OpenJDK ${{ env.JDK_VER }} uses: actions/setup-java@v4 with: - distribution: 'adopt' + distribution: 'temurin' java-version: ${{ env.JDK_VER }} - name: Set up Dapr CLI run: wget -q ${{ env.DAPR_INSTALL_URL }} -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }}