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

Merge pull request #13 from suitetecsa/renovate/gradle-8.x #21

Merge pull request #13 from suitetecsa/renovate/gradle-8.x

Merge pull request #13 from suitetecsa/renovate/gradle-8.x #21

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@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.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 }}