Skip to content

Maven Release

Maven Release #2

name: Maven Release
on:
workflow_dispatch:
inputs:
server-id:
description: 'Distribution server-id'
type: choice
required: false
default: central
options:
- central
- github
dry-run:
description: 'Dry-run without commits or deploys'
type: boolean
required: false
default: true
jobs:
invoke-release:
uses: emergentdotorg/github-actions/.github/workflows/maven-release.yaml@v1
secrets: inherit
with:
java-version: '8'
server-id: ${{ inputs.server-id }}
dry-run: ${{ inputs.dry-run }}
process-results:
runs-on: ubuntu-latest
needs: invoke-release
steps:
- run: echo version=${{ needs.invoke-release.outputs.version }}