File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 env :
4646 JOB_TYPE : test
4747 JOB_NAME : units-${{matrix.java}}
48+ units-8-runtime :
49+ runs-on : ubuntu-latest
50+ steps :
51+ - name : Get current week within the year
52+ id : date
53+ run : echo "::set-output name=week_of_year::$(date +'%W' --utc)"
54+ - uses : actions/checkout@v4
55+ - uses : actions/setup-java@v4
56+ with :
57+ java-version : 11
58+ distribution : temurin
59+ cache : maven
60+ - run : java -version
61+ - uses : actions/cache@v4
62+ id : mvn-cache
63+ with :
64+ path : ~/.m2/repository
65+ key : ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
66+ - name : Install all modules using Java 11
67+ shell : bash
68+ run : |
69+ mvn -V -B -ntp clean install -DskipTests -Dfmt.skip -Dclirr.skip -Denforcer.skip -Dcheckstyle.skip -Dflatten.skip -Danimal-sniffer.skip -Djacoco.skip
70+ working-directory : sdk-platform-java
71+ - uses : actions/setup-java@v4
72+ with :
73+ java-version : 8
74+ distribution : temurin
75+ - run : java -version
76+ - name : Run tests in Java 8 with the source compiled in Java 11
77+ run : .kokoro/build.sh
78+ env :
79+ JOB_TYPE : test
80+ JOB_NAME : units-8-runtime-${{matrix.java}}
81+ working-directory : sdk-platform-java
4882 windows :
4983 runs-on : windows-latest
5084 steps :
You can’t perform that action at this time.
0 commit comments