Skip to content

Commit 001aac4

Browse files
committed
Fix steps order in artifactory staging build
1 parent d594be1 commit 001aac4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/artifactory-staging-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
- name: Capture release version
2626
run: echo RELEASE_VERSION=${{ github.event.inputs.releaseVersion }} >> $GITHUB_ENV
2727

28-
- name: Enforce release rules
29-
run: mvn org.apache.maven.plugins:maven-enforcer-plugin:enforce -Drules=requireReleaseDeps
30-
3128
- name: Update release version
3229
run: mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$RELEASE_VERSION
3330

31+
- name: Enforce release rules
32+
run: mvn org.apache.maven.plugins:maven-enforcer-plugin:enforce -Drules=requireReleaseDeps
33+
3434
- name: Build with Maven and deploy to Artifactory staging repository
3535
env:
3636
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}

0 commit comments

Comments
 (0)