Skip to content

Merge remote-tracking branch 'origin/main' #151

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #151

Workflow file for this run

name: Publish to Sonatype Repository
on:
push:
branches: [ "main" ]
permissions:
contents: read
env:
nexusUsername: admin
nexusPassword: ${{ secrets.NEXUS_PASSWORD }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Prepare Gradle
uses: gradle/gradle-build-action@v2
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Publish to Sonatype Repository
run: gradle publishAllPublicationsToMavenRepository