Skip to content

Update dependency net.kyori:adventure-text-serializer-plain to v4.14.… #416

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

Update dependency net.kyori:adventure-text-serializer-plain to v4.14.… #416

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@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
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 }}"