Skip to content

Commit 09035cf

Browse files
author
may
committed
Updated Actions to publish on tag
1 parent 4a6f5f2 commit 09035cf

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v2
1919
with:
2020
distribution: 'adopt'
21-
java-version: '17'
21+
java-version: '21'
2222
- name: Cache Gradle packages
2323
uses: actions/cache@v4
2424
with:

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
uses: actions/setup-java@v2
2121
with:
2222
distribution: 'adopt'
23-
java-version: '17'
24-
- name: Publish
23+
java-version: '21'
24+
- name: Publish to Maven Central (Portal)
2525
run: |
2626
chmod +x gradlew
27-
./gradlew publish closeAndReleaseRepository
27+
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache
2828
env:
29-
ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.NEXUS_USERNAME }}
30-
ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.NEXUS_PASSWORD }}
31-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SEER_GPG_SECRET_KEY }}
32-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SEER_GPG_PASSWORD }}
29+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
30+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
31+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
32+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}

0 commit comments

Comments
 (0)