diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 390c6225b..8f42936af 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -132,7 +132,7 @@ jobs: retention-days: 7 deploy: - if: github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/heads/release-') && !inputs.dry_run + if: github.event_name == 'workflow_dispatch' && !inputs.dry_run environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -160,7 +160,7 @@ jobs: uses: actions/deploy-pages@v4 publish-indexes: - if: github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/heads/release-') && !inputs.dry_run + if: github.event_name == 'workflow_dispatch' && !inputs.dry_run needs: [ build, test, assemble, deploy ] runs-on: ubuntu-latest container: diff --git a/gradle-conventions/src/main/kotlin/conventions-publishing.gradle.kts b/gradle-conventions/src/main/kotlin/conventions-publishing.gradle.kts index bc9776bb7..87de8fece 100644 --- a/gradle-conventions/src/main/kotlin/conventions-publishing.gradle.kts +++ b/gradle-conventions/src/main/kotlin/conventions-publishing.gradle.kts @@ -58,10 +58,6 @@ fun PublishingExtension.configurePublication() { logger.info("Project ${project.name} -> Publication configured: $name, $version") } - - tasks.withType().configureEach { - dependsOn(tasks.withType()) - } } // we need to configure maven publication for kotlin("jvm") projects manually