Skip to content

Commit

Permalink
added --scan to gradle build actions, attempt to fix release docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolanrensen committed Jul 14, 2022
1 parent 7f4b1f7 commit c9c29e1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
-Pscala=${{ matrix.scala }}
clean
build
--scan
# qodana:
# runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/generate_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Generate and publish docs
on:
push:
branches:
- "release" # todo make release branch
- "release"

jobs:
generate-and-publish-docs:
Expand Down Expand Up @@ -34,7 +34,10 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
arguments: |
clean
build
dokkaHtmlMultiModule
--scan
- name: Copy docs to "docs" branch
uses: peaceiris/actions-gh-pages@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish_dev_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
-PskipScalaTuplesInKotlin=${{ !(matrix.spark == '3.0.0' || matrix.scala == '2.13.8' && matrix.spark == '3.2.0') }}
clean
publishMavenPublicationToGitHubPackagesRepository
--scan
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 2 additions & 0 deletions buildSrc/src/main/kotlin/Projects.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("NOTHING_TO_INLINE")

import org.gradle.api.Project
import org.gradle.api.artifacts.dsl.DependencyHandler
import org.gradle.kotlin.dsl.support.delegates.ProjectDelegate
Expand Down

0 comments on commit c9c29e1

Please sign in to comment.