Skip to content

Merge branch 'dev'

Merge branch 'dev' #9

Workflow file for this run

name: Maven release
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache local Maven repo
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 8
server-id: github
- name: View settings.xml
run: |
cat /home/runner/.m2/settings.xml
echo $GITHUB_ACTOR
- name: Configure Git
run: |
git config user.email "actions@github.com"
git config user.name "Github Actions"
- name: Maven release
run: mvn -DignoreSnapshots=true -B release:prepare release:perform
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}