ci: adjust ci configurations

This commit is contained in:
2026-06-02 16:42:58 +08:00
parent 0268f0788b
commit 41853b62ed
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
# Publishes onixbyte-tuple to Maven Central when a version tag is pushed to main. # Publishes onixbyte-identity-generator 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) # 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 uses: crazy-max/ghaction-import-gpg@v6.3.0
with: with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
trust_level: 5 trust_level: 5
- name: Creating PGP Ring Key - name: Creating PGP Ring Key
run: | run: |
mkdir -p ~/.gnupg 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 - name: Restore gradle.properties
env: env:
+2 -2
View File
@@ -87,8 +87,8 @@ publishing {
} }
scm { scm {
connection = "scm:git:git://github.com:OnixByte/JDevKit.git" connection = "scm:git:git://github.com:onixbyte/onixbyte-toolbox.git"
developerConnection = "scm:git:git://github.com:OnixByte/JDevKit.git" developerConnection = "scm:git:git://github.com:onixbyte/onixbyte-toolbox.git"
url = projectGithubUrl url = projectGithubUrl
} }