Skip to content

OptionalBoolean/BooleanConsumer #120

OptionalBoolean/BooleanConsumer

OptionalBoolean/BooleanConsumer #120

Workflow file for this run

---
name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
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
uses: actions/[email protected]
with:
java-version: 8
distribution: 'temurin'
cache: "maven"
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: GPG_SECRET_KEY_PASSPHRASE
- name: Build with Maven
run: mvn -B deploy
env:
OSSRH_USERNAME: mihxil
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
- uses: codecov/codecov-action@v3
- name: Publish Unit Test Results
uses: EnricoMi/[email protected]
if: always()
with:
junit_files: "**/target/surefire-reports/*.xml"