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
8 changes: 7 additions & 1 deletion .github/workflows/shared-release-major-minor-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
default: true
required: false
type: boolean
publish_to_maven:
description: 'True to publish the artifacts to maven repository, false to skip the step'
default: true
required: false
type: boolean

jobs:
release:
Expand Down Expand Up @@ -68,7 +73,8 @@ jobs:
message: 'release-${{ steps.check_version.outputs.version }}'
tag: '${{ steps.check_version.outputs.version }}'

- name: Publish
- name: Publish
if: ${{ inputs.upload_to_maven }}
run: mvn -B -Drepo.id=ossrh -Drepo.login=uidadmin -Drepo.pwd="${{ secrets.SONATYPE_REPO_PASSWORD }}" -Dgpg.passphrase="${{ secrets.GPG_PASSPHRASE }}" clean deploy

- name: 'Bump Version for Major/Minor'
Expand Down