diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..043fabf4 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,22 @@ +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 diff --git a/Jenkinsfile b/Jenkinsfile-disabled similarity index 100% rename from Jenkinsfile rename to Jenkinsfile-disabled