Specify minor version of Java to use in GitHub action #162
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Maven library build with Maven | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11.0.19 | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v4 | |
with: | |
maven-version: 3.6.3 | |
- name: Build OSGi bundles with Maven | |
run: mvn -f maven-osgi-bundles/pom.xml clean verify | |
- name: Build the application | |
run: mvn clean verify -Dcsstudio.composite.repo=$(pwd)/p2repo -Pcheckstyle |