Skip to content

bump version

bump version #15

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: macos-13
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check w/o SNAPSHOT when "bump version"
if: ${{ contains(github.event.head_commit.message, 'bump version') }}
run: grep "<version>" pom.xml | head -1 | grep -v SNAPSHOT
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml