File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 53
53
echo ::set-output name=NEW_RELEASE::$(echo "refs/heads/v2.3.6" | grep -ciP "refs/heads/v\K[0-9]+\.[0-9]+\.[0-9]+")
54
54
echo ${{ steps.get_version_tag.outputs.SOURCE_TAG }}
55
55
56
+ - name : Publish/Deploy to Maven Central
57
+ if : ${{ steps.new_release.outputs.NEW_RELEASE == 1}}
58
+ env :
59
+ SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
60
+ SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
61
+ SIGNING_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
62
+ CI_DEPLOY_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME }}
63
+ CI_DEPLOY_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD }}
64
+ run : scripts/deploy_gha.sh
65
+
66
+ - name : Publish/Deploy to Git
67
+ if : ${{ steps.new_release.outputs.NEW_RELEASE == 1}}
68
+ uses : marvinpinto/action-automatic-releases@latest
69
+ with :
70
+ repo_token : ${{ secrets.GH_TOKEN }}
71
+ automatic_release_tag : ${{ steps.get_version_tag.outputs.SOURCE_TAG }}
72
+ prerelease : false
73
+ draft : false
74
+ files : build/libs/watson-spring-boot-starter-${{ steps.get_version_tag.outputs.SOURCE_TAG }}-jar-with-dependencies.jar
75
+
56
76
- name : SKIP - Publish/Deploy to Git and Maven Central
57
77
if : ${{ steps.new_release.outputs.NEW_RELEASE == 1}}
58
78
run : |
You can’t perform that action at this time.
0 commit comments