Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Feb 25, 2024
1 parent a274ec5 commit 5ce3c7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Grace CI
on:
push:
branches:
- 'release/[2020-2024]+.[0-9]+.1'
- 'release/[2020-2024]+.[0-9]+.2'
pull_request:
branches:
- 'release/[2020-2024]+.[0-9]+.1'
- 'release/[2020-2024]+.[0-9]+.2'
workflow_dispatch:
jobs:
build:
Expand All @@ -26,7 +26,7 @@ jobs:
java-version: ${{ matrix.java }}
- name: Run Build
id: build
uses: gradle/gradle-build-action@v2.4.2
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 }}
Expand Down Expand Up @@ -58,7 +58,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.4.2
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 }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- master
- '[2020-2024]+.[0-9]+.x'
- 'release/[2020-2024]+.[0-9]+.2'
workflow_dispatch:
jobs:
release_notes:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -54,7 +54,7 @@ jobs:
run: echo "release_version=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
- name: Run Assemble
id: assemble
uses: gradle/gradle-build-action@v2.4.2
uses: gradle/gradle-build-action@v3
with:
arguments: assemble
env:
Expand All @@ -76,7 +76,7 @@ jobs:
- name: Publish to Sonatype OSSRH
id: publish
if: steps.assemble.outcome == 'success'
uses: gradle/gradle-build-action@v2.4.2
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 }}
Expand Down

0 comments on commit 5ce3c7c

Please sign in to comment.