Skip to content

Commit

Permalink
AAE-16642 fix maven-release java version
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni007 committed Sep 20, 2023
1 parent 1af25d1 commit 5eb01dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/maven-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,13 @@ runs:
NEXUS_PASSWORD: "${{ inputs.nexus-password }}"
NEXUS_URL: "${{ inputs.nexus-url }}"
STAGING_REPOSITORY_ID: ${{ inputs.staging-repository }}
JAVA_VERSION: "${{ inputs.java-version }}"
run: |
echo "Deploying to repository $STAGING_REPOSITORY_ID"
mvn clean deploy \
-DperformRelease \
-DskipTests \
-Dmaven.compiler.release=11 \
-Dmaven.compiler.release="${JAVA_VERSION}" \
-Dmaven.artifact.threads=30 \
--batch-mode \
-DaltReleaseDeploymentRepository=nexus-releases-staging-fixed::default::"${NEXUS_URL}"/service/local/staging/deployByRepositoryId/"$STAGING_REPOSITORY_ID " \
Expand Down

0 comments on commit 5eb01dc

Please sign in to comment.