ci: don't publish to Maven Central
[ci skip]
Because it got already to Maven Central and failed in the `Upload CLI ZIP` phase.
@@ -32,17 +32,17 @@ jobs:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
- - name: Publish to Maven Central
- env:
- SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
- SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
- GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
- GPG_FILE: ${{ secrets.GPG_FILE }}
- GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
- GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
- run: echo $GPG_FILE | base64 -d > secring.gpg && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository docs
+# - name: Publish to Maven Central
+# env:
+# SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
+# SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
+# GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
+# GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
+# GPG_FILE: ${{ secrets.GPG_FILE }}
+# GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
+# GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
+# GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
+# run: echo $GPG_FILE | base64 -d > secring.gpg && ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository docs
- name: Upload CLI Zip
id: upload-release-asset
uses: actions/upload-release-asset@v1
