Skip to content

Commit

Permalink
ci: Update gradle-build-action
Browse files Browse the repository at this point in the history
The GitHub action actions/gradle-build-action@v2 is now deprecated
and superseded with gradle/actions/setup-gradle@v3.

GitHub also warns about a security issue with the old version.
  • Loading branch information
matrei committed Feb 12, 2024
1 parent 10d0777 commit b551b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/groovy-joint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
echo "${{ steps.ge_conf.outputs.value }}" | sed -i -e "20r /dev/stdin" settings.gradle
- name: Build and install Groovy (no docs)
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
env:
GRADLE_SCANS_ACCEPT: yes
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:

- name: Build Project
id: build_grails_project
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
env:
GROOVY_VERSION: ${{ needs.build_groovy.outputs.groovySnapshotVersion }}
CI_GROOVY_VERSION: ${{ needs.build_groovy.outputs.groovySnapshotVersion }}
Expand Down

0 comments on commit b551b79

Please sign in to comment.