Skip to content

Update dependency net.kyori:adventure-text-serializer-plain to v4.17.… #477

Update dependency net.kyori:adventure-text-serializer-plain to v4.17.…

Update dependency net.kyori:adventure-text-serializer-plain to v4.17.… #477

name: Publish
on:
workflow_dispatch:
push:
branches:
- main
- dev*
- feature/*
- fix/*
jobs:
publish-central:
environment: build
runs-on: ubuntu-latest
name: Publish to Maven Central
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Build with Gradle
run: ./gradlew --build-cache build
- name: Publish to Maven Central
run: ./gradlew publish -PforceSign=true
env:
ORG_GRADLE_PROJECT_sonatypeUsername: "${{ secrets.SONATYPE_USERNAME }}"
ORG_GRADLE_PROJECT_sonatypePassword: "${{ secrets.SONATYPE_PASSWORD }}"
ORG_GRADLE_PROJECT_rainbowdashlabsSigningKey: "${{ secrets.RAINBOWDASHLABS_SIGN_KEY }}"
ORG_GRADLE_PROJECT_rainbowdashlabsSigningPassword: "${{ secrets.RAINBOWDASHLABS_GPG_PASSWORD }}"