From 0f2b15cb4c021c943d712d450837ce5128a0192c Mon Sep 17 00:00:00 2001 From: Liao Xin <93535922+liewstar@users.noreply.github.com> Date: Sat, 28 Sep 2024 00:50:27 +0800 Subject: [PATCH] feat: add server-id to CI (#10) * feat: fix pom.xml to fix CI for publishing to https://central.sonatype.com * feat: modify environment variables in CI * feat: add server-id to CI --- .github/workflows/maven-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index f1cb863..ab4c4d6 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -29,6 +29,7 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 + server-id: ossrh server-username: OSSRH_USERNAME server-password: OSSRH_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}