Skip to content

3.0.0-alpha04

3.0.0-alpha04 #4

Workflow file for this run

---
name: Run Gradle Push
on:
release:
types: [released]
permissions: read-all
jobs:
gradle:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle build
run: ./gradlew build -x iosX64Test
- name: Publish to MavenCentral
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: ./gradlew publish --max-workers 1 -Prelease=true