File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change 1616 RELEASE_VERSION : ${{ github.event.inputs.version }}
1717
1818 steps :
19- - name : Create GitHub App Token
20- id : app-token
21- uses : actions/create-github-app-token@v1
22- with :
23- app-id : ${{ vars.CI_APP_ID }}
24- private-key : ${{ secrets.CI_APP_PRIVATE_KEY }}
25-
26- - name : Checkout
19+ - name : Git checkout
2720 uses : actions/checkout@v4
2821 with :
29- ref : ${{ github.ref }}
30- token : ${{ steps.app-token.outputs.token }}
3122 fetch-depth : 0
3223
3324 - name : Java setup
3728 distribution : ' temurin'
3829 cache : maven
3930
40- - name : Get GitHub App User ID
41- id : get-user-id
42- run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
43- env :
44- GH_TOKEN : ${{ steps.app-token.outputs.token }}
45-
46- - name : Configure Git author
47- run : |
48- git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
49- git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
50-
5131 - name : Install just
5232 uses : taiki-e/install-action@just
5333
6444 - name : Set Release Version
6545 run : |
6646 echo "RELEASE_VERSION=${RELEASE_VERSION:-"$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)"}" >> $GITHUB_ENV
47+
48+ - name : Git user setup
49+ run : |
50+ git config --global user.name "SmallRye CI"
51+ git config --global user.email "[email protected] " 52+
6753 - name : Perform the deploy docs
6854 run : just build-ci deploy-docs ${{ env.RELEASE_VERSION }}
You can’t perform that action at this time.
0 commit comments