diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index 9f255f3fb..813ab647e 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -32,7 +32,7 @@ jobs: server-id: github settings-path: ${{ github.workspace }} - name: Create jar and publish to Sonatype - uses: gradle/gradle-build-action@v2.7.1 + uses: gradle/gradle-build-action@v2.8.0 with: arguments: jar publish env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2516b0ea6..4244b3918 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,7 @@ jobs: echo "signing.gnupg.passphrase=${{ secrets.PLATFORM_ROBOT_GPG_PASSPHRASE }}" >> ~/.gradle/gradle.properties echo "no-tty" >> ~/.gnupg/gpg.conf >> ~/.gradle/gradle.properties - name: Publish package - uses: gradle/gradle-build-action@v2.7.1 + uses: gradle/gradle-build-action@v2.8.0 with: arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository env: