From c1b6b25500cb4d74c63c4bb0445a075f2c721bd7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 9 Oct 2025 16:26:28 +0000 Subject: [PATCH] Run maven snapshot publication weekly as well as on PR merge (#847) * Run maven snapshot publication weekly as well as on PR merge Signed-off-by: Craig Perkins * Switch to ARCHIVE Signed-off-by: Craig Perkins --------- Signed-off-by: Craig Perkins (cherry picked from commit 56997079e317df0af9b127ced572a7bc1947c7d0) Signed-off-by: github-actions[bot] --- .github/workflows/maven-publish.yml | 2 ++ build.gradle | 2 +- sample-extension-plugin/build.gradle | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 6fb3a933..66e9d244 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -2,6 +2,8 @@ name: Publish snapshots to maven on: workflow_dispatch: + schedule: + - cron: '0 0 * * 0' # Run weekly on Sundays at midnight UTC push: branches: - main diff --git a/build.gradle b/build.gradle index 974fe9c5..4678913a 100644 --- a/build.gradle +++ b/build.gradle @@ -323,7 +323,7 @@ afterEvaluate { } testClusters.integTest { - testDistribution = 'INTEG_TEST' + testDistribution = 'ARCHIVE' // Cluster shrink exception thrown if we try to set numberOfNodes to 1, so only apply if > 1 if (_numNodes > 1) numberOfNodes = _numNodes diff --git a/sample-extension-plugin/build.gradle b/sample-extension-plugin/build.gradle index 95a20e93..e210d38a 100644 --- a/sample-extension-plugin/build.gradle +++ b/sample-extension-plugin/build.gradle @@ -112,7 +112,7 @@ integTest.getClusters().forEach{c -> { }} testClusters.integTest { - testDistribution = 'INTEG_TEST' + testDistribution = 'ARCHIVE' // Cluster shrink exception thrown if we try to set numberOfNodes to 1, so only apply if > 1 if (_numNodes > 1) numberOfNodes = _numNodes