File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name: Maven build and publish Master Snapshot
77
88on :
99 push :
10- branches : [ master ]
10+ branches : [ master, enable-gpg-signing ]
1111
1212jobs :
1313 maven-build-master-and-publish-to-maven-central :
2222 with :
2323 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2424
25- - run : mvn -f symja_android_library -B -U -P publish- to-maven-central,exact-target-jdk deploy
25+ - run : mvn -f symja_android_library -B -U -e -Ppublish- to-maven-central,exact-target-jdk install
2626 # Deployment of all modules is deferred to the last module by nexus-staging-maven-plugin
2727 env :
2828 MAVEN_USERNAME : ${{ secrets.OSSRH_TOKEN_USERNAME }}
2929 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN_PASSWORD }}
3030 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
31+ - uses : actions/upload-artifact@v4
32+ with :
33+ name : Package
34+ path : ' **/target/*'
35+
Original file line number Diff line number Diff line change 2727 # Perform the usual maven-release-plugin procedure, but prevent the release commits
2828 # and tag from being pushed to the master immediately. They are only pushed after
2929 # the release is performed successfully. This avoids to have the release
30- # commits on the master in case release publication fails in the last step) .
30+ # commits on the master in case release publication fails in the last step.
3131 # All file-system/git-operations are performed on the runnner's clone of this repo
3232
3333 - run : mvn -f symja_android_library -B release:clean release:prepare -DpushChanges=false
You can’t perform that action at this time.
0 commit comments