File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- name : Build and Test ApiDiff
1+ name : Build and Test APIDiff
22
33on :
44 push :
@@ -14,17 +14,17 @@ jobs:
1414 steps :
1515 - name : ' Check out repository'
1616 uses : actions/checkout@v4
17- with :
18- fetch-depth : 1
1917
2018 - name : ' Set up Java Development Kit'
21- uses : oracle- actions/setup-java@v1
19+ uses : actions/setup-java@v4
2220 with :
23- website : oracle.com
24- release : 17
21+ distribution : ' oracle'
22+ java-version : 17
23+
24+ - name : ' Build APIDiff'
25+ shell : bash
26+ run : bash make/build.sh
2527
26- - name : ' Build ApiDiff '
28+ - name : ' Self-test APIDiff '
2729 shell : bash
28- run : |
29- java --version
30- bash make/build.sh
30+ run : bash make/build.sh --skip-download -- test
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ $(BUILDTESTDIR)/JUnitTests.ok: \
4141 $(RM) $(@:%.ok=%/work) $(@:%.ok=%/report)
4242 $(MKDIR) -p $(@:%.ok=%/work) $(@:%.ok=%/report)
4343 cd $(@:%.ok=%/work) ; \
44- set -o pipefail ; \
4544 $(JAVA) \
4645 $(JUnitTest.add-exports) \
4746 -jar $(JUNIT_JAR) \
You can’t perform that action at this time.
0 commit comments