Skip to content

update

update #11

Workflow file for this run

name: PIPELINE
on:
push:
branches:
- 'master'
workflow_dispatch:
jobs:
detect-runner:
runs-on: [self-hosted, Linux, X64]
outputs:
is_self_hosted: ${{ steps.set_output.outputs.self_hosted }}
steps:
- id: set_output
run: echo "self_hosted=${{ contains(runner.labels, 'self-hosted') }}" >> $GITHUB_OUTPUT
bump:
needs: detect-runner
uses: UnterrainerInformatik/bump-semver-workflow/.github/workflows/workflow.yml@master
with:
self_hosted: ${{ needs.detect-runner.outputs.is_self_hosted }}
build:
name: Build and publish to Maven Central 🚀
needs: [bump, detect-runner]
uses: UnterrainerInformatik/maven-central-workflow/.github/workflows/workflow.yml@master
with:
self_hosted: ${{ needs.detect-runner.outputs.is_self_hosted }}
major_version: ${{ needs.bump.outputs.major_version }}
minor_version: ${{ needs.bump.outputs.minor_version }}
build_version: ${{ needs.bump.outputs.build_version }}
maven_profiles: release-to-sonatype
maven_args: -Dmaven.test.skip=true
secrets:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}