Update Kotlin version suffix #64
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: Publish a Kotlin release | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-Beta' | |
- 'v[0-9]+.[0-9]+.[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-Beta[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-RC' | |
- 'v[0-9]+.[0-9]+.[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-RC[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-Beta' | |
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-Beta[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-RC' | |
- 'v[0-9]+.[0-9]+.[0-9]+-BETA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-RC[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-Beta' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-Beta[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-RC' | |
- 'v[0-9]+.[0-9]+.[0-9]+-ALPHA-[0-9]+-kotlin-[0-9]+.[0-9]+.[0-9]+-RC[0-9]+' | |
jobs: | |
publish-kotlin-libraries: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v2 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Cache Konan | |
uses: ./.github/actions/cache-konan | |
- name: Publish to Sonatype | |
run: ./gradlew publishAllPublicationsToSonatypeRepository | |
env: | |
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} | |
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | |
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }} | |
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} |