Skip to content

chore(deps): update dependency org.codehaus.mojo:xml-maven-plugin to v1.1.0 #160

chore(deps): update dependency org.codehaus.mojo:xml-maven-plugin to v1.1.0

chore(deps): update dependency org.codehaus.mojo:xml-maven-plugin to v1.1.0 #160

Workflow file for this run

on:
push:
branches:
- master
pull_request_target:
branches:
- master
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- name: Decide the ref to check out
uses: haya14busa/action-cond@v1
id: condval
with:
cond: ${{ github.event_name == 'pull_request_target' }}
if_true: refs/pull/${{ github.event.pull_request.number }}/merge
if_false: ${{ github.ref }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ steps.condval.outputs.value }}
- uses: actions/setup-java@v3
with:
java-version: 8
distribution: temurin
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
gpg-private-key: ${{ secrets.SIGNING_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: |
./mvnw -V -B verify
npm ci
npx semantic-release
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}