Skip to content

Update publication.gradle.kts (#969) #89

Update publication.gradle.kts (#969)

Update publication.gradle.kts (#969) #89

Workflow file for this run

---
name: Run Gradle Push
on:
push:
branches: [main]
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 SNAPSHOT
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: ./gradlew publishAllPublicationsToSonatypeRepository --max-workers 1