From 001aac4f467a8742ba01af500ed707e45d610745 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Wed, 22 Feb 2023 20:53:21 +0100 Subject: [PATCH] Fix steps order in artifactory staging build --- .github/workflows/artifactory-staging-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/artifactory-staging-build.yml b/.github/workflows/artifactory-staging-build.yml index 07fb77681..73c185663 100644 --- a/.github/workflows/artifactory-staging-build.yml +++ b/.github/workflows/artifactory-staging-build.yml @@ -25,12 +25,12 @@ jobs: - name: Capture release version run: echo RELEASE_VERSION=${{ github.event.inputs.releaseVersion }} >> $GITHUB_ENV - - name: Enforce release rules - run: mvn org.apache.maven.plugins:maven-enforcer-plugin:enforce -Drules=requireReleaseDeps - - name: Update release version run: mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$RELEASE_VERSION + - name: Enforce release rules + run: mvn org.apache.maven.plugins:maven-enforcer-plugin:enforce -Drules=requireReleaseDeps + - name: Build with Maven and deploy to Artifactory staging repository env: ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}