diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 559c812..632bcf7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -53,11 +53,7 @@ jobs: passphrase: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - name: Gradle publish - uses: gradle/gradle-build-action@v3 - with: - arguments: | - "${{ matrix.target }}" - closeAndReleaseSonatypeStagingRepository + run: ./gradlew "${{ matrix.target }}" closeAndReleaseSonatypeStagingRepository -Psigning.gnupg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -Psigning.gnupg.keyName=${{ secrets.OSSRH_GPG_SECRET_KEY_ID }} -PsonatypeUsername=${{ secrets.OSSRH_USERNAME }}