Skip to content

Commit

Permalink
Update groovy-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekvr1 authored Oct 7, 2023
1 parent b2fed7d commit e4c07b7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/groovy-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,14 @@ jobs:
- name: Set up Groovy
uses: actions/setup-java@v3
with:
java-version: 11
distribution: openjdk
java-version: '11'
distribution: adoptopenjdk

- name: Check Groovy code
run: |
gradle groovy
- name: Fail if there are any errors
if: ${{ steps.groovy-check.outputs.exitCode != 0 }}
run: echo "Groovy check failed!"
exit: 1

0 comments on commit e4c07b7

Please sign in to comment.