Publish to Sonatype Snapshots #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |