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