Skip to content

gh-45 replace unknow-jax with stax #71

gh-45 replace unknow-jax with stax

gh-45 replace unknow-jax with stax #71

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: ossrh
server-username: MVN_USER
server-password: MVN_PASS
- name: set version
run: mvn -B versions:set -DnewVersion=${GITHUB_REF##*/}
- name: build
run: mvn -B -P deploy package
- 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
env:
MVN_USER: ${{secrets.OSS_USER}}
MVN_PASS: ${{secrets.OSS_PASS}}
MAVEN_GPG_KEY: ${{secrets.MAVEN_GPG_KEY}}