From 7abad2466c90fbbcc7333e02d99d46c257a628e4 Mon Sep 17 00:00:00 2001 From: xiaoweii Date: Mon, 8 Apr 2024 10:51:46 +0800 Subject: [PATCH] ci: update publish action for new user token --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b42d0f..a4d30ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,8 +17,8 @@ jobs: cache: gradle - name: Config properties run: | - echo "nexusUsername=${{ vars.NEXUS_USERNAME }}" >> key.properties - echo "nexusPassword=${{ secrets.NEXUS_PASSWORD }}" >> key.properties + echo "ossrhUsername=${{ secrets.OSSRH_USERNAME }}" >> key.properties + echo "ossrhPassword=${{ secrets.OSSRH_PASSWORD }}" >> key.properties echo "signing.keyId=${{ vars.SIGNING_KEY_ID }}" >> key.properties echo "signing.password=${{ secrets.SIGNING_PASSWORD }}" >> key.properties echo "signing.inMemoryKey=${{ secrets.SIGNING_IN_MEMORY_KEY }}" >> key.properties