Skip to content

Bump org.jetbrains.dokka from 1.8.20 to 1.9.0 (#416) #196

Bump org.jetbrains.dokka from 1.8.20 to 1.9.0 (#416)

Bump org.jetbrains.dokka from 1.8.20 to 1.9.0 (#416) #196

name: Publish a development version
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
env:
OSS_USER: '${{ secrets.OSS_USER }}'
OSS_TOKEN: '${{ secrets.OSS_TOKEN }}'
OSS_STAGING_PROFILE_ID: '${{ secrets.OSS_STAGING_PROFILE_ID }}'
SIGNING_KEY_PASSPHRASE: '${{ secrets.SIGNING_KEY_PASSPHRASE }}'
SIGNING_KEY: '${{ secrets.SIGNING_KEY }}'
jobs:
publish:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- name: Assemble
uses: gradle/gradle-build-action@v2
with:
arguments: assemble -x:xef-java-examples:assemble -x:xef-scala:assemble -x:xef-scala-examples:assemble
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: 'reports-${{ matrix.os }}'
path: '**/build/reports/**'
- name: Publish development version
uses: gradle/gradle-build-action@v2
with:
arguments: publishToSonatype -x:xef-scala:publishToSonatype closeAndReleaseSonatypeStagingRepository
publish-modules-with-loom:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 20
- name: assemble
uses: gradle/gradle-build-action@v2
with:
arguments: :xef-scala:assemble :xef-java-examples:assemble
- name: Upload reports
if: failure()
uses: actions/upload-artifact@v3
with:
name: 'reports-${{ matrix.os }}'
path: '**/build/reports/**'
- name: Publish development version
uses: gradle/gradle-build-action@v2
with:
arguments: :xef-scala:publishToSonatype closeAndReleaseSonatypeStagingRepository