Skip to content

Update dependency no.cantara.config:property-config to v0.9.3 (#300) #364

Update dependency no.cantara.config:property-config to v0.9.3 (#300)

Update dependency no.cantara.config:property-config to v0.9.3 (#300) #364

name: Build and Publish Snapshot
on:
push:
branches:
- master
tags-ignore:
- '**'
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Prepare Maven settings.xml
run: |
cat "${{ github.workspace }}/.github/settings.xml" > ~/.m2/settings.xml
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
- name: Publish Snapshot to OSS SonaType
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
run: |
mvn --batch-mode --no-transfer-progress deploy \
-DskipTests \
-P oss-sonatype