Skip to content

Merge PR: cmp-paycraft 2.0.8 — androidx-startup Initializer #29

Merge PR: cmp-paycraft 2.0.8 — androidx-startup Initializer

Merge PR: cmp-paycraft 2.0.8 — androidx-startup Initializer #29

Workflow file for this run

# Publish Workflow — delegates to mbl-actionhub reusable publish workflow
#
# Triggers:
# - Schedule: every Monday 00:00 UTC
# - Schedule: 1st of every month 00:00 UTC
# - Manual dispatch: workflow_dispatch (optional specific module)
#
# To publish after a release tag, trigger manually via Actions → Publish → Run workflow.
name: Publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # v2.0.0, v2.0.1, …
schedule:
- cron: '0 0 * * 1' # weekly — every Monday 00:00 UTC
- cron: '0 0 1 * *' # monthly — 1st of every month 00:00 UTC
workflow_dispatch:
inputs:
module:
description: 'Specific module to publish (leave empty for all cmp-* modules)'
required: false
type: string
permissions:
contents: write # required by publish-kmp-library.yml (release creation, tag push)
jobs:
publish:
uses: MobileByteLabs/mbl-actionhub/.github/workflows/publish-kmp-library.yml@v1.0.12
with:
module-pattern: 'cmp-'
module: ${{ inputs.module || '' }}
group-id: 'io.github.mobilebytelabs'
artifact-id: 'cmp-paycraft'
java-version: '21'
java-distribution: 'zulu'
sonatype-host: 'CENTRAL_PORTAL'
create-github-release: true
secrets: inherit