diff --git a/.github/workflows/cd_build.yml b/.github/workflows/cd_build.yml index 774594ed..180617ff 100644 --- a/.github/workflows/cd_build.yml +++ b/.github/workflows/cd_build.yml @@ -10,11 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 21 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' + java-package: jdk java-version: 21 server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index aee9b8c8..7aaf76d5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -14,12 +14,12 @@ jobs: jdk: [ 11,17,21 ] fail-fast: false steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.jdk }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' + java-package: jdk java-version: ${{ matrix.jdk }} - - name: Build with Maven run: mvn -Pconcise -B fmt:check package -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn diff --git a/.github/workflows/pull_request_delombok.yml b/.github/workflows/pull_request_delombok.yml index 6ce63306..a712fad6 100644 --- a/.github/workflows/pull_request_delombok.yml +++ b/.github/workflows/pull_request_delombok.yml @@ -11,42 +11,44 @@ jobs: steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 21 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' + java-package: jdk java-version: 21 - name: Build with Maven and delombok run: mvn -Pconcise,delombok -B package -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: javadocs-core path: transactionoutbox-core/target/apidocs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: javadocs-guice path: transactionoutbox-guice/target/apidocs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: javadocs-jackson path: transactionoutbox-jackson/target/apidocs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: javadocs-jooq path: transactionoutbox-jooq/target/apidocs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: javadocs-quarkus path: transactionoutbox-quarkus/target/apidocs - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: javadocs-spring - path: transactionoutbox-spring/target/apidocs \ No newline at end of file + path: transactionoutbox-spring/target/apidocs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c996593..4b3359f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK 21 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'zulu' + java-package: jdk java-version: 21 - settings-path: ~ # location for the settings.xml file + settings-path: "~" # location for the settings.xml file - name: Build and publish run: |