Skip to content

Commit

Permalink
Await the artifacts in Central after Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Oct 30, 2024
1 parent b162b8a commit 71b863e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,28 @@ jobs:
with:
version: ${{github.event.inputs.tag || github.ref_name}}
java_version: 17

await-release-on-central:
needs: perform-release
runs-on: ubuntu-latest
name: Await artifacts on Maven Central
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.inputs.tag || github.ref_name}}

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: 'maven'

- name: mvn install -DperformRelease
shell: bash
run: ./mvnw -B install -DperformRelease -Dmaven.javadoc.skip -Dmaven.source.skip -ntp

- name: Await ${{github.event.inputs.tag || github.ref_name}} on Maven Central
run: |
./mvnw org.l2x6.cq:cq-maven-plugin:4.14.2:await-release -Dcq.version=${{github.event.inputs.tag || github.ref_name}} -N

0 comments on commit 71b863e

Please sign in to comment.