Skip to content

Maven Central publishing #1

Maven Central publishing

Maven Central publishing #1

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
workflow_call:
push:
branches:
- main
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
permissions:
contents: read
checks: write # required by mikepenz/action-junit-report
jobs:
tests:
uses: ./.github/workflows/run_tests.yml
publish-maven:
needs: tests
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/run_publish_maven.yml
secrets: inherit
publish-site:
needs: tests
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/run_publish_site.yml

Check failure on line 36 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "./.github/workflows/run_publish_site.yml" : workflow is not reusable as it is missing a `on.workflow_call` trigger