diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index de3f06c3..9b694b83 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,3 +28,7 @@ jobs: - name: Publish run: ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache + env: + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} +