You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/07/01 09:37:12 UTC
[rocketmq-clients] branch java updated: Java: use matrix to trigger CI
This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch java
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/java by this push:
new 821145c Java: use matrix to trigger CI
821145c is described below
commit 821145c8df8f464acdcf3b28cbfda060c5b9d7ba
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Fri Jul 1 17:37:07 2022 +0800
Java: use matrix to trigger CI
---
.github/workflows/java_build.yml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/java_build.yml b/.github/workflows/java_build.yml
index 4b8b2be..27f06a0 100644
--- a/.github/workflows/java_build.yml
+++ b/.github/workflows/java_build.yml
@@ -4,13 +4,16 @@ jobs:
java_ubuntu_18_04:
name: Ubuntu 18.04
runs-on: ubuntu-18.04
+ strategy:
+ matrix:
+ jdk: [11, 17]
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Set up JDK 11
+ - name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
with:
- java-version: '11'
+ java-version: ${{ matrix.jdk }}
distribution: 'adopt'
cache: maven
- name: Build with Maven