diff --git a/.github/actions/publish-to-plugin-portal/action.yml b/.github/actions/publish-to-plugin-portal/action.yml index cb361aa..6c30ace 100644 --- a/.github/actions/publish-to-plugin-portal/action.yml +++ b/.github/actions/publish-to-plugin-portal/action.yml @@ -35,4 +35,4 @@ runs: - name: Publish shell: bash working-directory: ${{ github.action_path }} - run: ${{ github.workspace }}/gradlew publishExisting -Pgradle.publish.key=${{ inputs.gradle-plugin-publish-key }} -Pgradle.publish.secret=${{ inputs.gradle-plugin-publish-secret }} -PpluginVersion=${{ inputs.plugin-version }} -PrepositoryRoot=${{ github.workspace }}/gradle-plugin-portal + run: ${{ github.workspace }}/gradlew publishExisting -Pgradle.publish.key=${{ inputs.gradle-plugin-publish-key }} -Pgradle.publish.secret=${{ inputs.gradle-plugin-publish-secret }} -PdependencyManagementPluginVersion=${{ inputs.plugin-version }} -PrepositoryRoot=${{ github.workspace }}/gradle-plugin-portal diff --git a/.github/actions/publish-to-plugin-portal/build.gradle b/.github/actions/publish-to-plugin-portal/build.gradle index abe3501..6f58675 100644 --- a/.github/actions/publish-to-plugin-portal/build.gradle +++ b/.github/actions/publish-to-plugin-portal/build.gradle @@ -5,8 +5,8 @@ plugins { tasks.register("publishExisting", com.gradle.publish.PublishExistingTask) { pluginId = "io.spring.dependency-management" fileRepositoryRoot = new File("${repositoryRoot}") - pluginVersion = "${pluginVersion}" - pluginCoordinates = "io.spring.gradle:dependency-management-plugin:${pluginVersion}" + pluginVersion = "${dependencyManagementPluginVersion}" + pluginCoordinates = "io.spring.gradle:dependency-management-plugin:${dependencyManagementPluginVersion}" displayName = "Dependency Management Plugin" pluginDescription = "A Gradle plugin that provides Maven-like dependency management functionality" website = "https://github.com/spring-gradle-plugins/dependency-management-plugin"