Skip to content

Commit d8571ae

Browse files
committed
chore: fix step ordering
Signed-off-by: BRIAN GLEESON <Brian.Gleeson@ie.ibm.com>
1 parent b456621 commit d8571ae

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ jobs:
4848
distribution: 'temurin'
4949
cache: 'maven'
5050

51-
- name: Set artifact version to ${{ github.ref_name }}
52-
run: mvn -B versions:set -DnewVersion=${{ github.ref_name}} -DgenerateBackupPoms=false
53-
5451
- name: Publish Javadocs
5552
env:
5653
# GH_TOKEN: ${{ secrets.GH_TOKEN }}

build/publishJavadoc-gha.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ rm -fr ./gh-pages
1616
git config --global user.email "github-actions[bot]@users.noreply.github.com"
1717
git config --global user.name "github-actions[bot]"
1818
git checkout -b gh-pages origin/gh-pages
19+
git status
1920
printf "\n>>>>> Finished checking out...\n"
2021

2122
printf "\n>>>>> Generating Javadoc...\n"
23+
mvn -B versions:set -DnewVersion="${GITHUB_TAG}" -DgenerateBackupPoms=false
2224
mvn clean javadoc:aggregate --settings build/.github.settings.xml
2325
printf "\n>>>>> Finished generating Javadoc...\n"
2426

0 commit comments

Comments
 (0)