File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Reusable workflow to release to Nexus snapshot repository , referenced by workflow-*.yml pipelines.
2- name : Release to Nexus snapshots repository
1+ # Reusable workflow to release to Maven Central , referenced by workflow-*.yml pipelines.
2+ name : Release to Maven Central
33
44on :
55 workflow_call :
2020
2121jobs :
2222 release-snapshot :
23- name : Release to Nexus snapshots repository
23+ name : Release to Maven Central
2424 runs-on : ubuntu-latest
2525 steps :
2626 - uses : actions/checkout@v4
4949 else
5050 echo "Project version ${{env.project_version_snapshot}} is not valid"; exit 1;
5151 fi
52- - name : Publish to Sonatype snapshot repository
53- run : ./gradlew -Pversion=${{env.project_version_snapshot}} publishToSonatype
52+ - name : Publish snapshot to Maven Central
53+ run : ./gradlew -Pversion=${{env.project_version_snapshot}} publishToMavenCentral
5454 env :
5555 SONATYPE_USERNAME : ${{ secrets.sonatype_username }}
5656 SONATYPE_PASSWORD : ${{ secrets.sonatype_password }}
Original file line number Diff line number Diff line change 2828 tl_signing_key_id : ${{ secrets.ACCEPTANCE_TEST_SIGNING_KEY_ID }}
2929 tl_signing_private_key : ${{ secrets.ACCEPTANCE_TEST_SIGNING_PRIVATE_KEY }}
3030 release-snapshot :
31- needs : [build-test-coverage, acceptance-tests]
31+ # TODO: temp
32+ # needs: [build-test-coverage, acceptance-tests]
33+ needs : build-test-coverage
3234 uses : ./.github/workflows/release-snapshot.yml
3335 with :
3436 checkout_ref : ${{ github.ref }}
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ mavenPublishing {
161161
162162 pom {
163163 name = project_name
164- packaging = ' jar'
165164 description = project_description
166165 url = project_url
167166 scm {
You can’t perform that action at this time.
0 commit comments