We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb022dd commit 4f03ea6Copy full SHA for 4f03ea6
.github/workflows/release.yml
@@ -27,6 +27,15 @@ jobs:
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
33
+ 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 }}"
38
+
39
- name: Publish to GitHub Packages
40
run: mvn -ntp -B release:prepare release:perform
41
env:
0 commit comments