File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 GHA_JOB_NUMBER : ${{ github.job_number }}
6363 GHA_COMMIT : ${{ github.sha }}
6464 GHA_TAG : ${{ github.event.release.tag_name }}
65- # TRAVIS_TAG: ${{ github.event.release.tag_name }}
65+ TRAVIS_TAG : ${{ github.event.release.tag_name }} # for setMavenVersion
6666 run : |
6767 build/setMavenVersion.sh
6868 mvn clean javadoc:aggregate $MVN_ARGS
Original file line number Diff line number Diff line change 44# The javadocs are committed and pushed to the git repository's gh-pages branch.
55# Be sure to customize this file to reflect your SDK project's settings (git url,
66
7+ export GHA_BRANCH=${GHA_BRANCH##*/ } # Get the last part for true branch name - "refs/heads/9260_gha"
78# Avoid publishing javadocs for a PR build
89if [ " $GHA_PULL_REQUEST " == " false" ] && [ " $GHA_BRANCH " ]; then
9- export GHA_BRANCH=${GHA_BRANCH##*/ } # Get the last part for true branch name - "refs/heads/9260_gha"
1010 printf " \n>>>>> Publishing javadoc for release build: repo=%s branch=%s build_num=%s job_num=%s pr=%s tag=%s commit=%s\n" ${GHA_REPO_SLUG} ${GHA_BRANCH} ${GHA_BUILD_NUMBER} ${GHA_JOB_NUMBER} ${GHA_PULL_REQUEST} ${GHA_TAG} ${GHA_COMMIT}
1111
1212 printf " \n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n"
You can’t perform that action at this time.
0 commit comments