Skip to content

Commit ae716c5

Browse files
committed
test removal of jdk-24 file check and addition of jdk compile profiles
1 parent d26b702 commit ae716c5

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/pr-ci.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,7 @@ jobs:
5252
restore-keys: ${{ runner.os }}-${{ matrix.java }}-m2
5353
- name: Version Info
5454
run: mvn -version
55-
# Code for JDK versions < JDK-24 are incompatible with JDK-24+.
56-
# A (tmp) file flag is provided to demark the branch transition point.
57-
- name: Check for file existence
58-
id: file_check
59-
run: |
60-
if git ls-files --error-unmatch IsJdk24.txt > /dev/null 2>&1; then
61-
echo "file_exists=true" >> "$GITHUB_OUTPUT"
62-
else
63-
echo "file_exists=false" >> "$GITHUB_OUTPUT"
64-
fi
65-
shell: bash
66-
- name: Build with Maven branch JDK ${{ matrix.java }} ${{ steps.file_check.outputs.file_exists }}
67-
if: steps.file_check.outputs.file_exists == 'false' && matrix.java < '24'
68-
run: mvn -B verify --file pom.xml
69-
- name: prototype testing for JDK ${{ matrix.java }} ${{ steps.file_check.outputs.file_exists }}
70-
if: steps.file_check.outputs.file_exists == 'true' && matrix.java >= '24'
55+
- name: Build with Maven branch JDK ${{ matrix.java }}
7156
run: mvn -B verify --file pom.xml
7257
- name: debug data for env failure (tmp step)
7358
if: ${{ failure() && ! contains(matrix.os, 'windows') }}

0 commit comments

Comments
 (0)