diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 67e2a1e..914c619 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -31,7 +31,7 @@ jobs: java-version: ${{ matrix.java }} - name: Run Build id: build - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 with: arguments: build -x test publish: @@ -59,7 +59,7 @@ jobs: run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg - name: Publish to Sonatype OSSRH id: publish - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a34eb9..b3929a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - - uses: gradle/wrapper-validation-action@v2 + - uses: gradle/actions/wrapper-validation@v3 - name: Set up JDK uses: actions/setup-java@v4 with: @@ -60,7 +60,7 @@ jobs: - name: Publish to Sonatype OSSRH id: publish if: steps.secring.outcome == 'success' - uses: gradle/gradle-build-action@v3 + uses: gradle/actions/setup-gradle@v3 env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}