1
- name : release-maven-image
1
+ name : Release Maven
2
2
3
3
on :
4
4
workflow_dispatch :
5
5
inputs :
6
6
releaseVersion :
7
7
description : " Version to use when preparing a release (e.g., 1.2.3)"
8
8
required : true
9
- default : " 0.0.1"
9
+ default : 0.0.1
10
10
developmentVersion :
11
11
description : " Version to use for new local working copy (e.g., 1.2.4-SNAPSHOT)"
12
12
required : true
13
- default : " 0.0.2-SNAPSHOT"
13
+ default : 0.0.2-SNAPSHOT
14
14
app-path :
15
15
type : choice
16
16
description : Service-Name
17
17
required : true
18
18
options :
19
- - sps -backend
19
+ - refarch -backend
20
20
- refarch-eai
21
21
22
22
jobs :
@@ -29,12 +29,11 @@ jobs:
29
29
TZ : Europe/Berlin # timezone
30
30
steps :
31
31
- id : maven-release-step
32
- uses : it-at-m/.github/.github /actions/action-maven-release@feat/release-add-pr-option
32
+ uses : it-at-m/lhm_actions/action-templates /actions/action-maven-release@a4dd26733adc7d71b10fbd744ef355c01e4b7040 # v1.0.8
33
33
with :
34
- java-version : 17
35
- app-path : " /${{ github.event.inputs.app-path }}"
36
- releaseVersion : " ${{ github.event.inputs.releaseVersion }}"
37
- developmentVersion : " ${{ github.event.inputs.developmentVersion }}"
34
+ app-path : /${{ github.event.inputs.app-path }}
35
+ releaseVersion : ${{ github.event.inputs.releaseVersion }}
36
+ developmentVersion : ${{ github.event.inputs.developmentVersion }}
38
37
SIGN_KEY_PASS : ${{ secrets.gpg_passphrase }}
39
38
CENTRAL_USERNAME : ${{ secrets.sonatype_username }}
40
39
CENTRAL_PASSWORD : ${{ secrets.sonatype_password }}
@@ -44,10 +43,10 @@ jobs:
44
43
runs-on : ubuntu-latest
45
44
needs : release-maven
46
45
steps :
47
- - uses : it-at-m/.github/.github /actions/action-build-image@main
46
+ - uses : it-at-m/lhm_actions/action-templates /actions/action-build-image@a4dd26733adc7d71b10fbd744ef355c01e4b7040 # v1.0.8
48
47
with :
49
- path : " ${{ github.event.inputs.app-path }}"
50
- image-name : " ${{ github.event.inputs.app-path }}"
48
+ path : ${{ github.event.inputs.app-path }}
49
+ image-name : ${{ github.event.inputs.app-path }}
51
50
registry-password : ${{ secrets.GITHUB_TOKEN }}
52
51
artifact-name : ${{ needs.release-maven.outputs.ARTIFACT_NAME }}
53
52
registry-username : ${{ github.actor }}
59
58
runs-on : ubuntu-latest
60
59
steps :
61
60
- name : Download a single artifact
62
- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1 .8
61
+ uses : it-at-m/lhm_actions/action-templates/ actions/action-create-github-release@a4dd26733adc7d71b10fbd744ef355c01e4b7040 # v1.0 .8
63
62
with :
64
- name : ${{ needs.release-maven.outputs.ARTIFACT_NAME }}
65
- - name : Create GitHub Release
66
- id : create_release
67
- uses : softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
68
- with :
69
- tag_name : ${{needs.release-maven.outputs.MVN_ARTIFACT_ID}}-${{ github.event.inputs.releaseVersion }}
70
- draft : false
71
- prerelease : false
72
- generate_release_notes : false
73
- files : |
74
- ${{ github.event.inputs.app-path }}/target/*.jar
63
+ artifact-name : ${{ needs.release-maven.outputs.ARTIFACT_NAME }}
64
+ tag-name : ${{ needs.release-maven.outputs.MVN_ARTIFACT_ID }}-${{ github.event.inputs.releaseVersion }}
65
+ artifact-path : ${{ github.event.inputs.app-path }}/target/*.jar
0 commit comments