Skip to content

Commit

Permalink
attempt 2 to release to mvn central using gh packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolanrensen committed Aug 2, 2022
1 parent 8ad22be commit 91605b1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish_release_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ jobs:
distribution: adopt
java-version: 11
check-latest: true
server-id: ossrh
server-username: ORG_GRADLE_PROJECT_mavenCentralUsername
server-password: ORG_GRADLE_PROJECT_mavenCentralPassword
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: ORG_GRADLE_PROJECT_signingInMemoryKeyPassword

- name: Cache Gradle packages
uses: actions/cache@v3
Expand All @@ -72,11 +67,11 @@ jobs:
with:
swap-size-gb: 12


- name: Deploy to Maven Central with Gradle
- name: Upload to Maven Central with Gradle
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_TOKEN }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
run: >
./gradlew
Expand Down

0 comments on commit 91605b1

Please sign in to comment.