Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ jobs:
id: date
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
- uses: actions/checkout@v4
# Java 8 tests use JDK 11 to compile and JDK 8 to run tests.
# Setting up Java 8 first to capture JAVA8_HOME.
- uses: actions/setup-java@v4
with:
java-version: ${{matrix.java}}
distribution: temurin
- run: echo "JAVA8_HOME=${JAVA_HOME}" >> $GITHUB_ENV
- uses: actions/setup-java@v4
with:
java-version: 11
Expand All @@ -226,11 +233,7 @@ jobs:
env:
BUILD_SUBDIR: ${{matrix.package}}
JOB_TYPE: install
- uses: actions/setup-java@v4
with:
java-version: ${{matrix.java}}
distribution: temurin
- run: java -version

- name: Run tests in Java ${{matrix.java}} with the source compiled in Java 11
run: |
mvn test \
Expand All @@ -240,7 +243,8 @@ jobs:
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
-Dmaven.wagon.http.retryHandler.count=5 \
--also-make \
-T 1C
-T 1C \
-Djvm="${JAVA8_HOME}/bin/java"
env:
BUILD_SUBDIR: ${{matrix.package}}
JOB_TYPE: test
Expand Down
1 change: 1 addition & 0 deletions release-please
Submodule release-please added at d464e4
1 change: 1 addition & 0 deletions sdk-platform-java/tracing-sample
Submodule tracing-sample added at 9712ec
Loading