Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Merge pull request #10 from suitetecsa/renovate/org.jetbrains.kotlin.… #24

Merge pull request #10 from suitetecsa/renovate/org.jetbrains.kotlin.…

Merge pull request #10 from suitetecsa/renovate/org.jetbrains.kotlin.… #24

Workflow file for this run

name: SDK / Publish
on:
push:
tags:
- v*
branches:
- master
jobs:
publish:
name: Publish
runs-on: ubuntu-22.04
if: ${{ startsWith(github.ref, 'refs/tags/v') && contains(github.repository_owner, 'suitetecsa') }}
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Run publish task
run: ./gradlew sonatypeCentralUpload
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_KEY_PASSPHRASE: ${{ secrets.SIGNING_KEY_PASSPHRASE }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}