Publish Release to Sonatype #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Release to Sonatype | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| next_version: | |
| description: "Version bump" | |
| required: false | |
| type: choice | |
| options: | |
| - major | |
| - minor | |
| - patch | |
| default: "patch" | |
| jobs: | |
| publish: | |
| name: Publish Release to Maven Central | |
| uses: entur/gha-maven-central/.github/workflows/gradle-publish.yml@v1 | |
| with: | |
| next_version: ${{ inputs.next_version }} | |
| version_file_name: "gradle.properties" | |
| secrets: inherit |