Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/gradle-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}