diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec4dbb687..47c2a70c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: job-id: jdk${{ matrix.jdk }}-build-test properties: | postgresVersions=${{ matrix.pg }} - arguments: test -x checkstyleMain -x checkstyleTest + arguments: test -x checkstyleMain -x checkstyleTest -PskipDocs=true deploy: needs: [check, build] diff --git a/settings.gradle.kts b/settings.gradle.kts index ab314b3f0..b77d0aa57 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,4 +9,6 @@ include(":pgjdbc-ng") project(":pgjdbc-ng").projectDir = file("driver") include(":udt-gen") -include(":documentation") +if (!startParameter.projectProperties["skipDocs"].toBoolean()) { + include(":documentation") +}