Skip to content

Commit

Permalink
Merge pull request #562 from sullis/github-workflow-java-matrix
Browse files Browse the repository at this point in the history
GitHub workflow: enable Java matrix [ '1.8.0', '11.0.x' ]
  • Loading branch information
bitwiseman authored Oct 8, 2019
2 parents 0910cdf + 297dbae commit 2fdc5a8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java: [ '1.8.0', '11.0.x' ]
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: ${{ matrix.java }}
- name: Maven Download all dependencies
run: mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:go-offline
- name: Maven Build
Expand Down
26 changes: 13 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-injector</artifactId>
<version>1.18</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
<plugin>
<groupId>com.infradna.tool</groupId>
<artifactId>bridge-method-injector</artifactId>
<version>1.18</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
Expand All @@ -111,9 +111,9 @@
<executions>
<execution>
<id>run-spotbugs</id>
<phase>verify</phase>
<phase>verify</phase>
<goals>
<goal>check</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
Expand Down

0 comments on commit 2fdc5a8

Please sign in to comment.