MODWRKFLOW-72: Properly handle when workflow engine does not have a workflow to deactivate on workflow delete. #117
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Maven central workflow | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| maven: | |
| uses: folio-org/.github/.github/workflows/maven.yml@v1 | |
| # Only handle push events from the main branch or tags, to decrease PR noise | |
| if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' | |
| secrets: inherit | |
| # Set settings due to this maven project acting as a library or dependency to other FOLIO modules. | |
| with: | |
| # The spring-module-core dependency currently only has snapshot releases. | |
| allow-snapshots-release: true |