File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,18 +16,23 @@ jobs:
1616 release :
1717 runs-on : self-hosted
1818 container : maven:3.8.6-openjdk-11
19+ name : Release ${{ github.event.inputs.release-version }} (next dev ${{ github.event.inputs.development-version }})
1920
2021 steps :
21- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v3
23+ with :
24+ ssh-key : ' ${{ secrets.REPO_SSH_KEY }}'
2225
26+ # Relies on actions/checkout with 'ssh-key' parameter.
2327 - name : Prepare git config
2428 run : |
2529 git config user.name "GitHub Actions Bot"
2630 git config user.email "<netlicensing@labs64.com>"
31+ git config --global core.sshCommand "$(git config --local --get core.sshCommand)"
2732
2833 - name : Prepare maven settings.xml
2934 run : |
30- mkdir ~/.m2
35+ mkdir -p ~/.m2
3136 cat << EOF >~/.m2/settings.xml
3237 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3338 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