Skip to content

GH-284 - Enable CI builds on maintenance branch. #269

GH-284 - Enable CI builds on maintenance branch.

GH-284 - Enable CI builds on maintenance branch. #269

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ main, 0.24.x ]
pull_request:
branches: [ main, 0.24.x ]
jobs:
build:
name: Build project
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build and deploy snapshot
run: ./mvnw -B deploy --file pom.xml -s settings.xml -DossrhUsername=${{ secrets.OSSRH_USERNAME }} -DossrhPassword=${{ secrets.OSSRH_PASSWORD }}