Fix coroutine cancellation exceptions not being rethrown #287
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Kdocs/Javadocs | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| paths: | |
| - "**/src/**" | |
| - "**/*.gradle.kts" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: "pages" | |
| cancel-in-progress: false | |
| jobs: | |
| deploy-docs: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up JDK 24 for Dokka | |
| uses: actions/setup-java@v4.6.0 | |
| with: | |
| java-version: '24' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4.2.2 | |
| - name: Check out custom Dokka | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: pylonmc/dokka | |
| ref: rebar | |
| - name: Publish Dokka to Maven local | |
| run: ./gradlew publishToMavenLocal -Pversion=2.3.0-rebar-SNAPSHOT | |
| - name: Set up JDK 25 for Rebar | |
| uses: actions/setup-java@v4.6.0 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Build docs | |
| run: ./gradlew :rebar:dokkaGenerate -PuseRebarDokka=true | |
| - name: Upload docs | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: 'rebar/build/dokka' | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |