From 70cff78531eb90c7694c1ee00dede905d4c38bd6 Mon Sep 17 00:00:00 2001 From: Patrik Korytar Date: Tue, 19 May 2026 10:18:45 +0200 Subject: [PATCH] NCL-9648 Add build args param to gradle snapshot workflow --- .github/workflows/gradle-snapshot.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle-snapshot.yml b/.github/workflows/gradle-snapshot.yml index 3d1e1e7..df5b4cb 100644 --- a/.github/workflows/gradle-snapshot.yml +++ b/.github/workflows/gradle-snapshot.yml @@ -18,6 +18,11 @@ on: required: false type: boolean default: false + snapshot_deploy_args: + description: "The snapshot args for gradle tool. Default: build publishToCentral -x test -x funcTest" + required: false + type: string + default: "build publishToCentral -x test -x funcTest" secrets: SONATYPE_USERNAME: @@ -58,7 +63,7 @@ jobs: if: ${{ endsWith(steps.project-version.outputs.version, '-SNAPSHOT') }} with: java_version: ${{ inputs.java_version }} - build_args: "build publishToCentral -x test -x funcTest" + build_args: ${{ inputs.snapshot_deploy_args }} env: MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}