Skip to content

Commit dc00c27

Browse files
AB-xdevmsc-xdev
andcommitted
Workaround: Downgrade Maven version in Sonatype release
Co-Authored-By: msc-xdev <88368784+msc-xdev@users.noreply.github.com>
1 parent 98817e6 commit dc00c27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ jobs:
136136
PACKAGES_CENTRAL_TOKEN: ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
137137
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
138138

139+
# Required or Sonatype plugin 0.11.0 will fail
140+
- name: Downgrade Maven version to 3.9
141+
run: |
142+
sed -i -E '/^distributionUrl=/s/[0-9]+\.[0-9]+\.[0-9]+/3.9.11/g' .mvn/wrapper/maven-wrapper.properties
143+
139144
- name: Set up JDK
140145
uses: actions/setup-java@v6
141146
with: # running setup-java again overwrites the settings.xml

0 commit comments

Comments
 (0)