Skip to content

Release 5.1.5.0

Release 5.1.5.0 #161

Workflow file for this run

name: Publish Artifacts
'on':
push:
tags:
- '*'
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
ReleaseMC:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Grab tag name
uses: olegtarasov/[email protected]
id: tagName
- name: Setup Java
uses: actions/[email protected]
with:
distribution: temurin
java-version: 20
cache: gradle
- name: Upload to Sonatype
run: |
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository \
-Psign=true \
-PreleaseVersion="${{ steps.tagName.outputs.tag }}" \
-PsigningKey="${{ secrets.SIGNING_KEY }}" \
-PsigningPassword="${{ secrets.SIGNING_PASSWORD }}" \
-PnexusUsername="${{ secrets.NEXUS_USERNAME }}" \
-PnexusPassword="${{ secrets.NEXUS_PASSWORD }}"
broadcast-release:
needs:
- ReleaseMC
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Grab tag name
uses: olegtarasov/[email protected]
id: tagName
- name: Dispatch Release Event
uses: peter-evans/[email protected]
with:
token: '${{ secrets.ORG_PUBLIC_REPO_WORKFLOW_TRIGGERING }}'
repository: http4k/http4k-connect
event-type: http4k-connect-release
client-payload: '{"version": "${{ steps.tagName.outputs.tag }}"}'