Skip to content

Publish to Sonatype Snapshots #33

Publish to Sonatype Snapshots

Publish to Sonatype Snapshots #33

name: Publish to Sonatype Snapshots
on:
workflow_dispatch:
jobs:
build-and-upload:
name: Build and upload
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Build and upload artifacts
run: cd plugins && ./gradlew publishAllPublicationsToSonatypeSnapshotsRepository
env:
sonatype_username: ${{ secrets.SONATYPE_USERNAME }}
sonatype_password: ${{ secrets.SONATYPE_PASSWORD }}
GPG_key_id: ${{ secrets.GPG_KEY_ID }}
GPG_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_private_password: ${{ secrets.GPG_PRIVATE_PASSWORD }}