Skip to content

Update from https://github.com/Articdive/ArticDataGenerator/commit/cb… #399

Update from https://github.com/Articdive/ArticDataGenerator/commit/cb…

Update from https://github.com/Articdive/ArticDataGenerator/commit/cb… #399

Workflow file for this run

name: Publish
on:
push:
branches:
- 1.18.1
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2.4.0
- name: Set up JDK 11
uses: actions/setup-java@v2.4.0
with:
java-version: '11'
distribution: 'adopt'
- name: Publish to Maven Central
run: gradle publishAllPublicationsToMavenRepository
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}