diff --git a/.github/workflows/portal.yml b/.github/workflows/portal.yml index f1a6be8..d3d4899 100644 --- a/.github/workflows/portal.yml +++ b/.github/workflows/portal.yml @@ -17,7 +17,4 @@ jobs: - name: Publish with Gradle uses: gradle/gradle-build-action@v2 with: - arguments: publishPlugins - env: - GRADLE_PLUGIN_PUBLISHING_KEY: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_KEY }}" - GRADLE_PLUGIN_PUBLISHING_SECRET: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_SECRET }}" + arguments: "publishPlugins -Pgradle.publish.key=${{ secrets.GRADLE_PLUGIN_PUBLISHING_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_PLUGIN_PUBLISHING_SECRET }}" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9820faf..4a3c26c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,5 +21,3 @@ jobs: env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" GITLAB_TOKEN: "${{ secrets.GITLAB_TOKEN }}" - GRADLE_PLUGIN_PUBLISHING_KEY: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_KEY }}" - GRADLE_PLUGIN_PUBLISHING_SECRET: "${{ secrets.GRADLE_PLUGIN_PUBLISHING_SECRET }}"