ci: adjust ci configurations

This commit is contained in:
2026-06-02 16:43:01 +08:00
parent f1372896e0
commit f1aeb7204e
@@ -1,4 +1,4 @@
# Publishes onixbyte-tuple to Maven Central when a version tag is pushed to main.
# Publishes onixbyte-bom to Maven Central when a version tag is pushed to main.
#
# Supported tag format: <major>.<minor>.<patch>[-suffix] (e.g. 3.3.1, 3.3.1-alpha)
@@ -45,13 +45,12 @@ jobs:
uses: crazy-max/ghaction-import-gpg@v6.3.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
trust_level: 5
- name: Creating PGP Ring Key
run: |
mkdir -p ~/.gnupg
echo ${{ secrets.GPG_PASSPHRASE }} | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --export-secret-keys -o ~/.gnupg/gpg_key.ring
gpg --batch --yes --export-secret-keys -o ~/.gnupg/gpg_key.ring
- name: Restore gradle.properties
env:
@@ -77,7 +76,7 @@ jobs:
- name: Build with Gradle
env:
VERSION: ${{ steps.version.outputs.version }}
run: ./gradlew build "-PartefactVersion=${VERSION}"
run: ./gradlew build "-PversionCatalogueVersion=${VERSION}"
- name: List Output Items
run: ls -l ./build/libs
@@ -85,7 +84,7 @@ jobs:
- name: Publish to Maven Central
env:
VERSION: ${{ steps.version.outputs.version }}
run: ./gradlew publish "-PartefactVersion=${VERSION}"
run: ./gradlew publish "-PversionCatalogueVersion=${VERSION}"
- name: Create Deployment on Central Publisher Portal
run: |