Skip to content

⬆️ Bump io.github.gradle-nexus.publish-plugin (#85) #17

⬆️ Bump io.github.gradle-nexus.publish-plugin (#85)

⬆️ Bump io.github.gradle-nexus.publish-plugin (#85) #17

Workflow file for this run

name: Publish
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Publish
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}