Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
Upgrade gradle/gradle-build-action to 2.4.2
  • Loading branch information
rainboyan committed Jan 27, 2024
1 parent 60ec0a7 commit 18eea6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
java-version: ${{ matrix.java }}
- name: Run Build
id: build
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@2.4.2
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
uses: gradle/gradle-build-action@2.4.2
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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
uses: gradle/gradle-build-action@2.4.2
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
uses: gradle/gradle-build-action@2.4.2
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
6 changes: 3 additions & 3 deletions .github/workflows/retry-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
VERSION: ${{ github.event.inputs.release }}
- name: Run Assemble
id: assemble
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@2.4.2
with:
arguments: assemble
- name: Export Gradle Properties
Expand Down Expand Up @@ -87,15 +87,15 @@ jobs:
inputs: ${{ steps.grails_docs_release_message.outputs.value }}
- name: Grails SDK Minor Release
if: steps.upload_artifact.outcome == 'success' && contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC')
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@2.4.2
with:
arguments: sdkMinorRelease
env:
GVM_SDKVENDOR_KEY: ${{ secrets.GVM_SDKVENDOR_KEY }}
GVM_SDKVENDOR_TOKEN: ${{ secrets.GVM_SDKVENDOR_TOKEN }}
- name: Grails SDK Major Release
if: steps.upload_artifact.outcome == 'success' && !contains(steps.release_version.outputs.release_version, 'M') && !contains(steps.release_version.outputs.release_version, 'RC')
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@2.4.2
with:
arguments: sdkMajorRelease
env:
Expand Down

0 comments on commit 18eea6f

Please sign in to comment.