diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37dfaef..a2deeb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,8 +40,8 @@ jobs: - run: yarn release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_gradlePublishKey: ${{ secrets.GRADLE_PUBLISH_KEY }} - ORG_GRADLE_PROJECT_gradlePublishSecret: ${{ secrets.GRADLE_PUBLISH_SECRET }} + GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_PUBLISH_KEY }} + GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} pages: uses: ./.github/workflows/pages.yml diff --git a/build.gradle b/build.gradle index ab54906..9d10edd 100644 --- a/build.gradle +++ b/build.gradle @@ -151,20 +151,6 @@ gradlePlugin { testSourceSets.add(sourceSets.testkit) } -task preparePublish() { - doLast { - def publishKey = findProperty('gradlePublishKey') - def publishSecret = findProperty('gradlePublishSecret') - - System.properties.setProperty('gradle.publish.key', publishKey) - System.properties.setProperty('gradle.publish.secret', publishSecret) - } -} - tasks.named('check') { dependsOn(testing.suites.testkit) } - -tasks.named('publishPlugins') { - dependsOn(tasks.preparePublish) -}