Skip to content

Commit c491006

Browse files
committed
CI: fix SonaType Maven Central (attempt 5)
1 parent f07e0a8 commit c491006

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,14 @@ jobs:
7676
- name: Setup gradle
7777
uses: gradle/gradle-build-action@v3
7878

79-
- name: Add to signAllPublications to gradle.properties
80-
run: |
81-
echo "signAllPublications=true" >> gradle.properties
82-
8379
- name: Release to sonatype
8480
env:
8581
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USER }}
8682
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
8783
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_KEY_PASSWORD }}
8884
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY_SECRET }}
85+
GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
86+
GPG_KEY_SECRET: ${{ secrets.GPG_KEY_SECRET }}
8987
PACKAGE_VERSION: ${{ github.event.release.tag_name }}
9088
run: ./gradlew publishToMavenCentral --debug
9189

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
kotlin.code.style=official
22
kotlin.js.generate.executable.default=false
33
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
4-
signAllPublications=true

0 commit comments

Comments
 (0)