name: Build on: push: branches: ["*"] jobs: build: runs-on: ubuntu-latest permissions: contents: read steps: - name: Checkout uses: actions/checkout@v3 - name: Setup JDK uses: actions/setup-java@v3 with: java-version: "17" distribution: "temurin" - name: Build with Maven id: build run: mvn -B package --file pom.xml