From 1a04e10674f12568850d98824a0086ed96b8b62c Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Wed, 19 Jun 2024 21:25:34 +0800 Subject: [PATCH] Update github workflows --- .github/workflows/gradle.yml | 8 ++++---- .github/workflows/release.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 68989317..b2a5f42f 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -2,10 +2,10 @@ name: Grace CI on: push: branches: - - 'release/5.2.5' + - 5.2.x pull_request: branches: - - 'release/5.2.5' + - 5.2.x workflow_dispatch: jobs: build: @@ -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 -x findMainClass 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 ca97e368..a58e24bf 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: