Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

RPGItems for 1.19.4 #16

RPGItems for 1.19.4

RPGItems for 1.19.4 #16

Workflow file for this run

name: Publish to Maven Central
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Publish package
uses: gradle/gradle-build-action@v2
with:
arguments: publishMavenReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
ORG_GRADLE_PROJECT_BUILD_NUMBER: ${{ vars.BUILD_NUM }}