Skip to content

Commit 172e935

Browse files
committed
Revert add Java 17
1 parent a730b50 commit 172e935

1 file changed

Lines changed: 6 additions & 30 deletions

File tree

.github/workflows/ant-regrtest.yml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: ant regrtest 2.7
44

55
on:
66
push:
7-
#branches: [ master, test-java-17-25 ]
7+
branches: [ master ]
88
pull_request:
99
branches: [ master ]
1010

@@ -36,34 +36,10 @@ jobs:
3636
run: ant -noinput -buildfile build.xml regrtest-ci
3737

3838

39-
# ant-regrtest-windows-jdk11:
40-
#
41-
# runs-on: windows-latest
42-
# timeout-minutes: 60
43-
#
44-
# steps:
45-
# - run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
46-
#
47-
# # Some tests require exactly-expected line endings
48-
# - run: git config --global core.autocrlf input
49-
#
50-
# - uses: actions/checkout@v4
51-
#
52-
# - name: Set up JDK 11
53-
# uses: actions/setup-java@v4
54-
# with:
55-
# java-version: '11'
56-
# distribution: 'temurin'
57-
#
58-
# - name: Regression test with Ant
59-
# run: ant -noinput -buildfile build.xml regrtest-ci
60-
61-
62-
ant-regrtest-ubuntu-jdk17:
39+
ant-regrtest-windows-jdk11:
6340

64-
runs-on: ubuntu-latest
65-
timeout-minutes: 40
66-
continue-on-error: true
41+
runs-on: windows-latest
42+
timeout-minutes: 60
6743

6844
steps:
6945
- run: echo "Branch ${{ github.ref }} of repository ${{ github.repository }}."
@@ -73,10 +49,10 @@ jobs:
7349

7450
- uses: actions/checkout@v4
7551

76-
- name: Set up JDK 17
52+
- name: Set up JDK 11
7753
uses: actions/setup-java@v4
7854
with:
79-
java-version: '17'
55+
java-version: '11'
8056
distribution: 'temurin'
8157

8258
- name: Regression test with Ant

0 commit comments

Comments
 (0)