Skip to content

Prepare release of SDK #6

Prepare release of SDK

Prepare release of SDK #6

Workflow file for this run

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: 21
- 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