Skip to content

0.5.0

0.5.0 #23

Workflow file for this run

name: Publish
on:
release:
types: [ released ]
workflow_dispatch:
jobs:
publish:
name: Release build and publish
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v6.0.1
- name: Set up JDK 21
uses: actions/setup-java@v5.1.0
with:
distribution: 'zulu'
java-version: 21
- name: Release build
run: ./gradlew :cloudy:assemble --scan
- name: Publish to MavenCentral
run: |
./gradlew :cloudy:publishAllPublicationsToMavenCentral --no-configuration-cache
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}