Skip to content

Update analysis api to 2.0.20 dev 6501 #1279

Update analysis api to 2.0.20 dev 6501

Update analysis api to 2.0.20 dev 6501 #1279

name: Publish preview to GitHub Actions Artifacts
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
jobs:
kotlinx-coroutines:
runs-on: ubuntu-latest
if: > # Run this job only for pull requests from forks because members with write access have web preview
github.event_name != 'pull_request' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'Kotlin/dokka')
steps:
- name: Checkout dokka
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Document coroutines
run: ./gradlew :dokka-integration-tests:gradle:testExternalProjectKotlinxCoroutines --stacktrace "-Dorg.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=500m"
env:
DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/coroutines
- name: Copy files to GitHub Actions Artifacts
uses: actions/upload-artifact@v4
with:
name: dokka-coroutines
path: /home/runner/work/dokka/coroutines
retention-days: 7
kotlinx-serialization:
runs-on: ubuntu-latest
if: > # Run this job only for pull requests from forks because members with write access have web preview
github.event_name != 'pull_request' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'Kotlin/dokka')
steps:
- name: Checkout dokka
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Document serialization
run: ./gradlew :dokka-integration-tests:gradle:testExternalProjectKotlinxSerialization --stacktrace "-Dorg.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=500m"
env:
DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/serialization
- name: Copy files to GitHub Actions Artifacts
uses: actions/upload-artifact@v4
with:
name: dokka-serialization
path: /home/runner/work/dokka/serialization
retention-days: 7
biojava:
runs-on: ubuntu-latest
if: > # Run this job only for pull requests from forks because members with write access have web preview
github.event_name != 'pull_request' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'Kotlin/dokka')
steps:
- name: Checkout dokka
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Document biojava-core
run: ./gradlew :dokka-integration-tests:maven:integrationTest --tests org.jetbrains.dokka.it.maven.BiojavaIntegrationTest --stacktrace
env:
DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/biojava
- name: Copy files to GitHub Actions Artifacts
uses: actions/upload-artifact@v4
with:
name: dokka-biojava
path: /home/runner/work/dokka/biojava
retention-days: 7