From 8fc282ab7fd9c9b33058e86bc44c32f635cc5cf6 Mon Sep 17 00:00:00 2001 From: "David M. Lloyd" Date: Fri, 16 Feb 2024 08:08:51 -0600 Subject: [PATCH] Fix Java setup actions --- .github/project.yml | 1 - .github/workflows/build.yml | 6 +++--- .github/workflows/release.yml | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/project.yml b/.github/project.yml index fae3c50..dfdc6c6 100644 --- a/.github/project.yml +++ b/.github/project.yml @@ -2,4 +2,3 @@ name: SmallRye BeanBag release: current-version: 1.4.0 next-version: 1.4.1-SNAPSHOT - diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d95754..13657d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,10 +20,10 @@ jobs: - uses: actions/checkout@v4 name: checkout - - uses: AdoptOpenJDK/install-jdk@v1 - name: set up JDK + - uses: actions/setup-java@v4 with: - version: 17 + distribution: temurin + java-version: 17 - name: Build shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1586538..8917444 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,7 @@ jobs: - uses: actions/setup-java@v4 with: + distribution: temurin java-version: 11 - name: maven release ${{steps.metadata.outputs.current-version}}