File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ jobs:
37
37
gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
38
38
39
39
- name : Set artifact version to ${{ github.ref_name }}
40
- run : mvn versions:set -DnewVersion=${{ github.ref_name}} -DgenerateBackupPoms=false
40
+ run : mvn -B versions:set -DnewVersion=${{ github.ref_name}} -DgenerateBackupPoms=false
41
41
42
42
- name : Publish Javadocs
43
43
env :
44
44
GH_TOKEN : ${{ secrets.GH_TOKEN }}
45
45
GH_REPO_SLUG : ${{ github.repository }}
46
46
GH_TAG : ${{ github.ref_name}}
47
47
run : |
48
- mvn clean javadoc:javadoc -B
48
+ mvn -B clean javadoc:javadoc
49
49
build/publishJavadoc-gha.sh
50
50
51
51
- name : Publish to Maven Central
55
55
GPG_KEYNAME : ${{ secrets.GPG_KEYNAME }}
56
56
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
57
57
run : |
58
- echo "Publishing to maven central"
59
- # build only the "verify" goal for now until we're brave enough to try to deploy to MC :)
60
- mvn verify -B -DskipTests -P central
61
- ls -al target
58
+ mvn -B deploy -DskipTests -P central
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ printf "\n>>>>> Publishing javadoc for release build: repo=%s tag=%s\n" ${GH_REP
9
9
10
10
printf " \n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n"
11
11
rm -fr ./gh-pages
12
+ git config --global user.email
" [email protected] "
13
+ git config --global user.name " ibm-devx-sdk"
12
14
git clone --branch=gh-pages https://${GH_TOKEN} @github.com/IBM/java-sdk-core.git gh-pages
13
15
14
16
printf " \n>>>>> Finished cloning...\n"
You can’t perform that action at this time.
0 commit comments