diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07edd79..484878d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,10 +19,10 @@ jobs: strategy: matrix: - jdk: [ 17, 21 ] + jdk: [ 17, 21, 23 ] env: - is_latest_jdk: ${{ matrix.jdk == 21 && 'yes' || '' }} + is_latest_jdk: ${{ matrix.jdk == 23 && 'yes' || '' }} is_main: ${{ github.ref_name == github.event.repository.default_branch && 'yes' || '' }} is_develop: ${{ github.ref_name == 'develop' && 'yes' || '' }} is_fork: ${{ github.event_name == 'pull_request' && 'yes' || '' }} @@ -100,7 +100,7 @@ jobs: # SEMANTIC VERSIONING # ================================ - name: Semantic versioning - if: ${{ matrix.jdk == 21 }} + if: ${{ env.is_latest_jdk }} run: | SEMVER=`cat ./api-compatibility/build/semver.txt` BADGE="https://dev.leakyabstractions.com/result/semver-${SEMVER}.json" @@ -112,7 +112,7 @@ jobs: # COMPATIBILITY REPORT # ================================ - name: Compatibility with version ${{ steps.properties.outputs.previousVersion }} - if: ${{ matrix.jdk == 21 }} + if: ${{ env.is_latest_jdk }} # $GITHUB_STEP_SUMMARY supports content up to a size of 1024k run: head -c 1MiB ./api-compatibility/build/report.txt >> $GITHUB_STEP_SUMMARY