Skip to content

Commit dabe54d

Browse files
committed
Partially revert d49a253
1 parent f1fe433 commit dabe54d

File tree

4 files changed

+10
-37
lines changed

4 files changed

+10
-37
lines changed

.github/workflows/publish-github.yml renamed to .github/workflows/publish-ayatana-maven.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish appindicator-gtk3-java (libappindicator-full) to GitHub Packages
1+
name: Publish libayatana-appindicator-java-full to Maven Central
22
on:
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 }}

.github/workflows/publish-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish appindicator-gtk3-java (libappindicator-full) to Maven Central
1+
name: Publish libappindicator-gtk3-java-full to Maven Central
22
on:
33
release:
44
types: [published]

.github/workflows/publish-minimal-github.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/publish-minimal-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish appindicator-gtk3-java (libayatana-appindicator-libappindicator-minimal) to Maven Central
1+
name: Publish libappindicator-gtk3-java-minimal to Maven Central
22
on:
33
release:
44
types: [published]

0 commit comments

Comments
 (0)