File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,25 +32,28 @@ jobs:
3232 check-license :
3333 runs-on : ubuntu-latest
3434 steps :
35- - uses : actions/checkout@v2
35+ - uses : actions/checkout@v4
3636 - name : Check License Header
3737 uses : apache/skywalking-eyes/header@main
3838 build :
3939 name : Build
4040 runs-on : ubuntu-latest
41+ strategy :
42+ matrix :
43+ java : [11, 17]
4144 steps :
42- - uses : actions/checkout@v2
43- - name : Set up JDK 11
45+ - uses : actions/checkout@v4
46+ - name : Set up JDK ${{ matrix.java }}
4447 uses : actions/setup-java@v2
4548 with :
46- java-version : 11
47- distribution : ' adopt'
49+ java-version : ${{ matrix.java }}
50+ distribution : ' adopt'
4851 - name : Install Protoc
4952 run : sudo apt install -y protobuf-compiler
5053 - uses : actions/cache@v4
5154 with :
5255 path : ~/.m2/repository
53- key : ${{ runner.os }}-maven
56+ key : ${{ runner.os }}-maven-${{ matrix.java }}
5457 - name : Build And Install
5558 run : ./mvnw clean install -B -Dmaven.test.skip=true
5659 - name : Run Unit tests
Original file line number Diff line number Diff line change 637637 <plugins >
638638 <!-- Make some additional properties available to simplify keeping some content up to date -->
639639 <plugin >
640- <groupId >org.codehaus.gmaven </groupId >
641- <artifactId >groovy-maven -plugin</artifactId >
642- <version >2 .1.1</version >
640+ <groupId >org.codehaus.gmavenplus </groupId >
641+ <artifactId >gmavenplus -plugin</artifactId >
642+ <version >4 .1.1</version >
643643 <executions >
644644 <!-- Do some pre-build checks and report any findings to the user -->
645645 <execution >
991991 <plugins >
992992 <!-- Make some additional properties available to simplify keeping some content up to date -->
993993 <plugin >
994- <groupId >org.codehaus.gmaven </groupId >
995- <artifactId >groovy-maven -plugin</artifactId >
996- <version >2 .1.1</version >
994+ <groupId >org.codehaus.gmavenplus </groupId >
995+ <artifactId >gmavenplus -plugin</artifactId >
996+ <version >4 .1.1</version >
997997 <executions >
998998 <!-- Do some pre-build checks and report any findings to the user -->
999999 <execution >
You can’t perform that action at this time.
0 commit comments