Skip to content

gh-45 upate workflow #72

gh-45 upate workflow

gh-45 upate workflow #72

Workflow file for this run

name: release
on:
push:
tags:
- 'release/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
server-id: central
server-username: MVN_CENTRAL_USER
server-password: MVN_CENTRAL_PASS
- name: set version
run: mvn -B versions:set -DnewVersion=${GITHUB_REF##*/}
- name: build
run: mvn -B -P deploy verify
- name: install xmllint
run: |-
sudo apt update
sudo apt install libxml2-utils
- name: validate
run: bash .github/validate.sh
- name: publish
run: mvn -B -P deploy deploy