Skip to content

gh-45 comply with oss requirement to deploy in central #68

gh-45 comply with oss requirement to deploy in central

gh-45 comply with oss requirement to deploy in central #68

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}}

Check failure on line 40 in .github/workflows/mavenpublish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mavenpublish.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
MAVEN_GPG_KEY: ${{secrets.MAVEN_GPG_KEY}}