Prepare release of SDK #4
Workflow file for this run
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: Prepare release of SDK | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Publish package to Maven Central | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out project sources | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: adopt | |
java-version: 11 | |
- name: Publish package | |
run: | | |
./gradlew publishPulumiKotlinSdkPublicationToMavenCentralRepository \ | |
-Psigning.enabled=true \ | |
-Psigning.key="${{ secrets.GPG_KEY }}" \ | |
-Psigning.key.password="${{ secrets.GPG_KEY_PASSWORD }}" \ | |
-Psonatype.username="${{ secrets.SONATYPE_USERNAME }}" \ | |
-Psonatype.password="${{ secrets.SONATYPE_PASSWORD }}" \ | |
-Dorg.gradle.daemon=false \ | |
-q |