8000 Fix release workflow · Labs64/NetLicensingClient-java@fa14381 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa14381

Browse files
committed
Fix release workflow
1 parent 48770e7 commit fa14381

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/netlicensing-client-release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff 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">

0 commit comments

Comments
 (0)
0