From 78c6fdc4aafc9384b1a23b49c7703f1f0acf9f00 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 14 Oct 2024 17:16:49 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20error=20when=20publishing=20the=20library?= =?UTF-8?q?.=20=E2=9D=8C=20The=20'arguments'=20parameter=20is=20no=20longe?= =?UTF-8?q?r=20supported=20for=20gradle/actions/setup-gradle.=20See=20http?= =?UTF-8?q?s://github.com/gradle/actions/blob/main/docs/deprecation-upgrad?= =?UTF-8?q?e-guide.md#using-the-action-to-execute-gradle-via-the-arguments?= =?UTF-8?q?-parameter-is-deprecated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 42f1eab..116ce70 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,7 +31,8 @@ jobs: distribution: 'temurin' java-version: '17' - - name: ⬆️ Publish to Sonatype + - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - with: - arguments: publishAndReleaseToMavenCentral --no-configuration-cache + + - name: ⬆️ Publish to Sonatype + run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache