diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6a0dd1c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +# Managed by otterdog blueprint require-ci-workflows. Do not edit here. +# CI logic lives in osgi/.github (reusable workflow). +# Every push to main deploys a fresh SNAPSHOT to Sonatype Central +# snapshots; the weekly schedule keeps it fresh in quiet times. +name: build +on: + push: + branches: [ main ] + pull_request: + workflow_dispatch: + schedule: + - cron: '23 3 * * 1' +permissions: + contents: read +jobs: + build: + permissions: + contents: read + # the TCK test report is published as a check run + checks: write + uses: osgi/.github/.github/workflows/spec-build.yml@main + secrets: inherit + with: + deploy: ${{ github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d1a2d7f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +# Managed by otterdog blueprint require-ci-workflows. Do not edit here. +# CI logic lives in osgi/.github (reusable workflow). +# A release is cut by pushing a tag that equals the pom version (no prefix); +# the central workflow refuses a tag that does not match .mvn/maven.config. +name: release +on: + push: + tags: + - '[0-9]*.[0-9]*.[0-9]*' +permissions: + contents: read +jobs: + release: + uses: osgi/.github/.github/workflows/spec-release.yml@main + secrets: inherit