Skip to content

Upped checkerframework #28

Upped checkerframework

Upped checkerframework #28

Workflow file for this run

---
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
server-id: vpro-ossrh
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: GPG_SECRET_KEY_PASSPHRASE
cache: maven
- name: Build with Maven
run: mvn -B -fn
- name: Publish test results
uses: scacap/action-surefire-report@v1
- name: Publish to codecov
uses: codecov/codecov-action@v3
continue-on-error: true
if: ${{ github.event_name == 'push' }}
- name: Deploy with Maven
run: mvn -B -Pdeploy -DskipTests=true deploy
if: ${{ github.event_name == 'push' }}
env:
SONATYPE_USERNAME: vpro
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}