File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,23 @@ jobs:
16
16
release :
17
17
runs-on : self-hosted
18
18
container : maven:3.8.6-openjdk-11
19
+ name : Release ${{ github.event.inputs.release-version }} (next dev ${{ github.event.inputs.development-version }})
19
20
20
21
steps :
21
- - uses : actions/checkout@v2
22
+ - uses : actions/checkout@v3
23
+ with :
24
+ ssh-key : ' ${{ secrets.REPO_SSH_KEY }}'
22
25
26
+ # Relies on actions/checkout with 'ssh-key' parameter.
23
27
- name : Prepare git config
24
28
run : |
25
29
git config user.name "GitHub Actions Bot"
26
30
git config user.email "<netlicensing@labs64.com>"
31
+ git config --global core.sshCommand "$(git config --local --get core.sshCommand)"
27
32
28
33
- name : Prepare maven settings.xml
29
34
run : |
30
- mkdir ~/.m2
35
+ mkdir -p ~/.m2
31
36
cat << EOF >~/.m2/settings.xml
32
37
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
38
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
You can’t perform that action at this time.
0 commit comments