File tree Expand file tree Collapse file tree 1 file changed +17
-11
lines changed
Expand file tree Collapse file tree 1 file changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,26 @@ jobs:
2121 uses : actions/setup-java@v3
2222 with :
2323 java-version : 11
24+ server-id : github
2425 distribution : ' temurin'
2526 cache : maven
26-
27- - name : Setup Git user
28- uses : fregante/setup-git-user@v2
29-
30- - name : Setup SSH Keys and known_hosts
31- env :
32- SSH_AUTH_SOCK : /tmp/ssh_agent.sock
27+
28+ - name : Configure Git user
3329 run : |
34- mkdir -p ~/.ssh
35- ssh-keyscan github.com >> ~/.ssh/known_hosts
36- ssh-agent -a $SSH_AUTH_SOCK > /dev/null
37- ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
30+ git config user.email "[email protected] " 31+ git config user.name "GitHub Actions"
32+
33+ # - name: Setup Git user
34+ # uses: fregante/setup-git-user@v2
35+ #
36+ # - name: Setup SSH Keys and known_hosts
37+ # env:
38+ # SSH_AUTH_SOCK: /tmp/ssh_agent.sock
39+ # run: |
40+ # mkdir -p ~/.ssh
41+ # ssh-keyscan github.com >> ~/.ssh/known_hosts
42+ # ssh-agent -a $SSH_AUTH_SOCK > /dev/null
43+ # ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
3844
3945 - name : Publish to GitHub Packages
4046 run : mvn -ntp -B release:prepare release:perform
You can’t perform that action at this time.
0 commit comments