Skip to content

Avoid publishing support modules in Maven Central #307

Avoid publishing support modules in Maven Central

Avoid publishing support modules in Maven Central #307

Workflow file for this run

name: Build
on:
push:
branches:
- "main"
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
pull_request:
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 17 ]
name: build with jdk ${{matrix.java}}
steps:
- uses: actions/checkout@v4
name: checkout
- uses: actions/setup-java@v4
name: set up jdk ${{matrix.java}}
with:
distribution: 'temurin'
java-version: ${{matrix.java}}
cache: 'maven'
cache-dependency-path: '**/pom.xml'
- name: build with maven
run: mvn formatter:validate verify --file pom.xml -Pnative