diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d54faa..cade64b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,21 +13,21 @@ permissions: contents: read jobs: - build: - uses: ./.github/workflows/gradle.yml + # build: + # uses: ./.github/workflows/gradle.yml deploy: - needs: build + # needs: build strategy: matrix: include: - - target: publishIosArm64PublicationToSonatypeRepository - os: macos-latest - - target: publishAndroidDebugPublicationToSonatypeRepository - os: ubuntu-latest - - target: publishAndroidReleasePublicationToSonatypeRepository - os: ubuntu-latest - - target: publishJvmPublicationToSonatypeRepository - os: ubuntu-latest + # - target: publishIosArm64PublicationToSonatypeRepository + # os: macos-latest + # - target: publishAndroidDebugPublicationToSonatypeRepository + # os: ubuntu-latest + # - target: publishAndroidReleasePublicationToSonatypeRepository + # os: ubuntu-latest + # - target: publishJvmPublicationToSonatypeRepository + # os: ubuntu-latest - target: publishLinuxX64PublicationToSonatypeRepository os: ubuntu-latest runs-on: ${{ matrix.os }} diff --git a/convention-plugins/src/main/kotlin/module.publication.gradle.kts b/convention-plugins/src/main/kotlin/module.publication.gradle.kts index 5544156..6e45044 100644 --- a/convention-plugins/src/main/kotlin/module.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/module.publication.gradle.kts @@ -47,7 +47,7 @@ publishing { } signing { - if (System.clearProperty("signing.gnupg.keyName")!=null) { + if (project.hasProperty("signingPassword")) { useGpgCmd() sign(publishing.publications) }