From fedf092b0f3d8c025d0dae789f3ca729a8df1443 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Mon, 26 Feb 2024 00:35:07 +0800 Subject: [PATCH] Update github workflows --- .github/workflows/gradle.yml | 8 ++++---- .github/workflows/release-notes.yml | 2 +- .github/workflows/release.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d48c144..dff2a45 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -2,10 +2,10 @@ name: Grace CI on: push: branches: - - 'release/[5-9]+.[0-9]+.1' + - 'release/[5-9]+.[0-9]+.2' pull_request: branches: - - 'release/[5-9]+.[0-9]+.1' + - 'release/[5-9]+.[0-9]+.2' workflow_dispatch: jobs: build: @@ -31,7 +31,7 @@ jobs: java-version: ${{ matrix.java }} - name: Run Build id: build - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} @@ -63,7 +63,7 @@ jobs: run: echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg - name: Publish to Sonatype OSSRH id: publish - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 8c22823..6e67cb4 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -10,7 +10,7 @@ jobs: release_notes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check if it has release drafter config file id: check_release_drafter run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2128d09..326d399 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@v1 + - uses: gradle/wrapper-validation-action@v2 - name: Set up JDK uses: actions/setup-java@v3 with: @@ -60,7 +60,7 @@ jobs: - name: Publish to Sonatype OSSRH id: publish if: steps.secring.outcome == 'success' - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 env: GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}