Skip to content

Commit 91605b1

Browse files
committed
attempt 2 to release to mvn central using gh packages
1 parent 8ad22be commit 91605b1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/publish_release_version.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ jobs:
4444
distribution: adopt
4545
java-version: 11
4646
check-latest: true
47-
server-id: ossrh
48-
server-username: ORG_GRADLE_PROJECT_mavenCentralUsername
49-
server-password: ORG_GRADLE_PROJECT_mavenCentralPassword
50-
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
51-
gpg-passphrase: ORG_GRADLE_PROJECT_signingInMemoryKeyPassword
5247

5348
- name: Cache Gradle packages
5449
uses: actions/cache@v3
@@ -72,11 +67,11 @@ jobs:
7267
with:
7368
swap-size-gb: 12
7469

75-
76-
- name: Deploy to Maven Central with Gradle
70+
- name: Upload to Maven Central with Gradle
7771
env:
7872
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
7973
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_TOKEN }}
74+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
8075
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
8176
run: >
8277
./gradlew

0 commit comments

Comments
 (0)