fix: resolve push issues in maven release workflow and stabilize plugin versions

This commit is contained in:
Thomas
2026-04-27 19:37:21 +02:00
parent e3acfb3d0b
commit acd3c774db
2 changed files with 16 additions and 4 deletions
+7 -4
View File
@@ -22,12 +22,13 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v6
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0
ref: main
- name: Set up JDK 17
uses: actions/setup-java@v5
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
@@ -39,6 +40,7 @@ jobs:
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
@@ -58,7 +60,8 @@ jobs:
run: |
mvn -B release:prepare release:perform \
-DreleaseVersion=${{ github.event.inputs.releaseVersion }} \
-DdevelopmentVersion=${{ github.event.inputs.developmentVersion }}
-DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} \
-DscmCommentPrefix="[release] "
- name: Upload to SourceForge
run: |