File tree Expand file tree Collapse file tree 4 files changed +10
-37
lines changed Expand file tree Collapse file tree 4 files changed +10
-37
lines changed Original file line number Diff line number Diff line change 1- name : Publish appindicator-gtk3- java to GitHub Packages
1+ name : Publish libayatana- appindicator-java-full to Maven Central
22on :
33 release :
44 types : [published]
@@ -14,18 +14,22 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v3
1616 with :
17- ref : ' develop '
17+ ref : ' libayatana-appindicator-full '
1818 - uses : actions/setup-java@v3
1919 with :
2020 distribution : ' zulu'
2121 java-version : 20
2222 cache : ' maven'
23+ server-id : ossrh
24+ server-username : MAVEN_USERNAME
25+ server-password : MAVEN_PASSWORD
2326 gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
2427 gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2528 - name : Enforce project version ${{ github.event.release.tag_name }}
2629 run : mvn versions:set -B -DnewVersion="${{ github.event.release.tag_name }}"
2730 - name : Deploy
28- run : mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
31+ run : mvn deploy -B -DskipTests -Psign,deploy-central --no-transfer-progress
2932 env :
30- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ MAVEN_USERNAME : ${{ secrets.NEXUS_USERNAME }}
34+ MAVEN_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
3135 MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 1- name : Publish appindicator -gtk3-java to Maven Central
1+ name : Publish libappindicator -gtk3-java-full to Maven Central
22on :
33 release :
44 types : [published]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Publish appindicator -gtk3-java (libayatana-appindicator-libappindicator- minimal) to Maven Central
1+ name : Publish libappindicator -gtk3-java- minimal to Maven Central
22on :
33 release :
44 types : [published]
You can’t perform that action at this time.
0 commit comments