Move configuration out of sonatype-oss-release to enable it by default (except for maven-gpg-plugin), and update related configuration as necessary.
#212
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: "JDK ${{ matrix.java }}" | |
| strategy: | |
| matrix: | |
| java: [ 8, 11 ] | |
| runs-on: ubuntu-latest | |
| env: | |
| # Not actually used since we aren't building/testing the Android version, | |
| # but Maven still needs an absolute path or it complains. | |
| ANDROID_HOME: / | |
| steps: | |
| # Cancel any previous runs for the same branch that are still running. | |
| - name: 'Cancel previous runs' | |
| uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: 'Check out repository' | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - name: 'Set up JDK ${{ matrix.java }}' | |
| uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'zulu' | |
| cache: 'maven' | |
| - name: 'Install' | |
| shell: bash | |
| run: mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn install -U -DskipTests=true -am -pl caliper | |
| - name: 'Test' | |
| shell: bash | |
| run: mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean verify -U -Dmaven.javadoc.skip=true -am -pl caliper |