From 8286a2896f8beec4c65e12f0956f6f5306d2bac6 Mon Sep 17 00:00:00 2001 From: Hiroyuki Sato Date: Wed, 8 Jan 2025 15:43:40 +0900 Subject: [PATCH] Use `var` instead of `secrets` for OSSRH_USERNAME --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 00f83ecc..edd620ab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials ./gradlew --stacktrace publishMavenPublicationToMavenCentralRepository gemPush env: - ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }} + ORG_GRADLE_PROJECT_ossrhUsername: ${{ vars.OSSRH_USERNAME }} ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }} ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY_ARMOR }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}