Skip to content

Commit

Permalink
Fix for building pages (#3543)
Browse files Browse the repository at this point in the history
  • Loading branch information
serras authored Dec 5, 2024
1 parent 9131152 commit 13f567a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/githubpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/arrow-2' }}
cache-read-only: ${{ github.ref != 'refs/heads/main' }}

- name: assemble
run: ./gradlew -Pversion=${{ github.event.release.tag_name }} dokkaHtmlMultiModule -Pgithubpages=true
run: ./gradlew -Pversion=${{ github.event.release.tag_name }} dokkaHtmlMultiModule -Pgithubpages=true --max-workers 1

- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
Expand Down
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ private val kotlinXUpstream =
)

subprojects {
plugins.apply("org.jetbrains.dokka")

tasks.withType<DokkaTaskPartial>().configureEach {
extensions.findByType<KotlinProjectExtension>()?.sourceSets?.forEach { kotlinSourceSet ->
dokkaSourceSets.named(kotlinSourceSet.name) {
Expand Down

0 comments on commit 13f567a

Please sign in to comment.