1717 required : true
1818 type : string
1919
20- server-username :
21- description : ' Username of the repository'
22- required : true
23- type : string
20+ # server-username:
21+ # description: 'Username of the repository'
22+ # required: true
23+ # type: string
2424
25- server-password :
26- description : ' Password of the repository'
27- required : true
28- type : string
25+ # server-password:
26+ # description: 'Password of the repository'
27+ # required: true
28+ # type: string
2929
30- gpg-key :
31- description : ' GPG key to access the repository'
32- required : true
33- type : string
30+ # gpg-key:
31+ # description: 'GPG key to access the repository'
32+ # required: true
33+ # type: string
3434
35- gpg-passphrase :
36- description : ' GPG passphrase to access the repository'
37- required : true
38- type : string
35+ # gpg-passphrase:
36+ # description: 'GPG passphrase to access the repository'
37+ # required: true
38+ # type: string
3939
4040 profile :
4141 description : ' Profile to pick from pom.xml'
5959 server-id : ${{ inputs.server-id }}
6060 server-username : SERVER_USERNAME
6161 server-password : SERVER_PASSWORD
62- gpg-private-key : ${{ inputs .gpg-key }} # Value of the GPG private key to import
62+ gpg-private-key : ${{ env .gpg-key }} # Value of the GPG private key to import
6363 gpg-passphrase : GPG_PASSPHRASE # env variable for GPG private key passphrase
6464
6565 - name : Get Previous tag
@@ -77,17 +77,17 @@ jobs:
7777 ./ci-scripts/bump_version.sh "${{ steps.previoustag.outputs.tag }}"
7878 fi
7979
80- - name : Commit changes
81- run : |
82- git config user.name ${{ github.actor }}
83- git config user.email ${{ github.actor }}@users.noreply.github.com
84- git add pom.xml
85- if ${{ inputs.is-internal }}; then
86- git commit -m "[AUTOMATED] Private Release ${{ steps.previoustag.outputs.tag }}-dev-$(git rev-parse --short $GITHUB_SHA)"
87- git push origin ${{ github.ref_name }} -f
88- else
89- git commit -m "[AUTOMATED] Public Release - ${{ steps.previoustag.outputs.tag }}"
90- git push origin
80+ # - name: Commit changes
81+ # run: |
82+ # git config user.name ${{ github.actor }}
83+ # git config user.email ${{ github.actor }}@users.noreply.github.com
84+ # git add pom.xml
85+ # if ${{ inputs.is-internal }}; then
86+ # git commit -m "[AUTOMATED] Private Release ${{ steps.previoustag.outputs.tag }}-dev-$(git rev-parse --short $GITHUB_SHA)"
87+ # git push origin ${{ github.ref_name }} -f
88+ # else
89+ # git commit -m "[AUTOMATED] Public Release - ${{ steps.previoustag.outputs.tag }}"
90+ # git push origin
9191
9292 - name : Create env
9393 if : ${{ inputs.is-internal }}
@@ -104,10 +104,9 @@ jobs:
104104 name : " credentials.json"
105105 json : ${{ secrets.TEST_CREDENTIALS_FILE_STRING }}
106106
107- - name : Publish package
108- run : mvn clean deploy -P ${{ inputs.profile }}
109- env :
110- SERVER_USERNAME : ${{ inputs.server-username }}
111- SERVER_PASSWORD : ${{ inputs.server-password }}
112- GPG_PASSPHRASE : ${{ inputs.gpg-passphrase }}
113-
107+ # - name: Publish package
108+ # run: mvn clean deploy -P ${{ inputs.profile }}
109+ # env:
110+ # SERVER_USERNAME: ${{ env.SERVER_USERNAME }}
111+ # SERVER_PASSWORD: ${{ env.SERVER_PASSWORD }}
112+ # GPG_PASSPHRASE: ${{ env.GPG_PASSPHRASE }}
0 commit comments