Skip to content

Commit ab1790c

Browse files
committed
Update GitHub Action
1 parent bfec4fc commit ab1790c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ on:
1616
required: true
1717
sonatypePassword:
1818
required: true
19-
sonatypeStagingProfileId:
20-
required: true
19+
# sonatypeStagingProfileId:
20+
# required: true
2121

2222
jobs:
2323
check-update:
@@ -50,13 +50,13 @@ jobs:
5050
run: ./scripts/run-script.sh CheckExistingVersion
5151
- name: Publish to Maven Central
5252
if: ${{ env.need_update == 'true' }}
53-
run: ./gradlew --no-daemon publishToSonatype closeAndReleaseSonatypeStagingRepository
53+
run: ./gradlew --no-daemon --info publishToSonatype closeAndReleaseSonatypeStagingRepository
5454
env:
5555
SIGNING_KEY_ID: ${{ secrets.signingKeyId }}
5656
SIGNING_PASSWORD: ${{ secrets.signingPassword }}
5757
SIGNING_KEY: ${{ secrets.signingKey }}
5858
SONATYPE_USERNAME: ${{ secrets.sonatypeUsername }}
5959
SONATYPE_PASSWORD: ${{ secrets.sonatypePassword }}
60-
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.sonatypeStagingProfileId }}
60+
# SONATYPE_STAGING_PROFILE_ID: ${{ secrets.sonatypeStagingProfileId }}
6161

6262

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ if (secretPropsFile.exists()) {
248248
listOf(
249249
"sonatypeUsername" to "SONATYPE_USERNAME",
250250
"sonatypePassword" to "SONATYPE_PASSWORD",
251-
"sonatypeStagingProfileId" to "SONATYPE_STAGING_PROFILE_ID",
251+
// "sonatypeStagingProfileId" to "SONATYPE_STAGING_PROFILE_ID",
252252
"signing.keyId" to "SIGNING_KEY_ID",
253253
"signing.password" to "SIGNING_PASSWORD",
254254
"signing.key" to "SIGNING_KEY"

0 commit comments

Comments
 (0)