Skip to content

Added code to set the id of the Library and the Measure to the name (… #3

Added code to set the id of the Library and the Measure to the name (…

Added code to set the id of the Library and the Measure to the name (… #3

name: Publish Snapshot
on:
push:
branches:
- master
jobs:
maven:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish snapshot
run: mvn --batch-mode -no-transfer-progress --update-snapshots deploy
env:
MAVEN_USERNAME: ${{ vars.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}