Skip to content

0.12.0

0.12.0 #6

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Run unit tests
uses: gradle/gradle-build-action@v3
with:
arguments: testDebugUnitTest
- name: Publish
uses: gradle/gradle-build-action@v3
with:
arguments: publish
env:
SIGNING_KEY: ${{ secrets.SONARTYPE_GPG_PRIVATE_KEY }}
SIGNING_PASSWORD: ${{ secrets.SONARTYPE_GPG_PASSPHRASE }}
OSSRH_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
OSSRH_TOKEN_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
SIGNING_KEY_ID: ${{ secrets.SONATYPE_SIGNING_KEY_ID }}