From 247c99ae710a70bddbcfcf921851d71ada14eb54 Mon Sep 17 00:00:00 2001 From: Jeff Alder <49817386+jeffalder@users.noreply.github.com> Date: Tue, 10 Jan 2023 14:29:53 -0800 Subject: [PATCH] Use alternate keys, v0.0.3 --- .github/workflows/gradle-publish.yml | 12 +++--------- build.gradle | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 454c1c2..04ad1d8 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -34,16 +34,10 @@ jobs: with: arguments: build - - name: write publish secrets - run: | - echo "$GRADLE_PLUGIN_PORTAL_PROPERTIES" >> gradle.properties - shell: bash - env: - GRADLE_PLUGIN_PORTAL_PROPERTIES: ${{ secrets.GRADLE_PLUGIN_PORTAL_PROPERTIES }} - - # The USERNAME and TOKEN need to correspond to the credentials environment variables used in - # the publishing section of your build.gradle - name: Publish to Gradle Plugins Portal uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 with: arguments: publishPlugins + env: + GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} + GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} diff --git a/build.gradle b/build.gradle index 66a8e58..b549e20 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group = 'io.github.jeffalder' -version = '0.0.2' +version = '0.0.3' repositories { mavenCentral()