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 (libappindicator -full) to GitHub Packages
1
+ name : Publish libayatana- appindicator-java-full to Maven Central
2
2
on :
3
3
release :
4
4
types : [published]
@@ -14,18 +14,22 @@ jobs:
14
14
steps :
15
15
- uses : actions/checkout@v3
16
16
with :
17
- ref : ' develop '
17
+ ref : ' libayatana-appindicator-full '
18
18
- uses : actions/setup-java@v3
19
19
with :
20
20
distribution : ' zulu'
21
21
java-version : 20
22
22
cache : ' maven'
23
+ server-id : ossrh
24
+ server-username : MAVEN_USERNAME
25
+ server-password : MAVEN_PASSWORD
23
26
gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
24
27
gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
25
28
- name : Enforce project version ${{ github.event.release.tag_name }}
26
29
run : mvn versions:set -B -DnewVersion="${{ github.event.release.tag_name }}"
27
30
- 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
29
32
env :
30
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ MAVEN_USERNAME : ${{ secrets.NEXUS_USERNAME }}
34
+ MAVEN_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
31
35
MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change 1
- name : Publish appindicator -gtk3-java (libappindicator -full) to Maven Central
1
+ name : Publish libappindicator -gtk3-java-full to Maven Central
2
2
on :
3
3
release :
4
4
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
2
2
on :
3
3
release :
4
4
types : [published]
You can’t perform that action at this time.
0 commit comments