File tree Expand file tree Collapse file tree 2 files changed +18
-12
lines changed
Expand file tree Collapse file tree 2 files changed +18
-12
lines changed 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 >
643642 <executions >
644643 <!-- Do some pre-build checks and report any findings to the user -->
645644 <execution >
976975 <artifactId >artifactory-maven-plugin</artifactId >
977976 <version >2.7.0</version >
978977 </plugin >
978+ <plugin >
979+ <groupId >org.codehaus.gmavenplus</groupId >
980+ <artifactId >gmavenplus-plugin</artifactId >
981+ <version >4.1.1</version >
982+ </plugin >
979983 <plugin >
980984 <groupId >org.apache.maven.plugins</groupId >
981985 <artifactId >maven-site-plugin</artifactId >
991995 <plugins >
992996 <!-- Make some additional properties available to simplify keeping some content up to date -->
993997 <plugin >
994- <groupId >org.codehaus.gmaven</groupId >
995- <artifactId >groovy-maven-plugin</artifactId >
996- <version >2.1.1</version >
998+ <groupId >org.codehaus.gmavenplus</groupId >
999+ <artifactId >gmavenplus-plugin</artifactId >
9971000 <executions >
9981001 <!-- Do some pre-build checks and report any findings to the user -->
9991002 <execution >
You can’t perform that action at this time.
0 commit comments