Skip to content

Commit

Permalink
change groovy version to 3.0.10 and adapt github ci yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ssadedin committed Aug 23, 2024
1 parent 0ff1ca2 commit def49d9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@ jobs:
timeout-minutes: 90

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'adopt'
- name: Install groovy
run: sudo apt-get update && sudo apt-get install groovy

- name: Install SDKMan
run: |
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version
- name: Install Groovy 3.0.10
run: |
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install groovy 3.0.10
groovy --version
- name: Build with Gradle
run: ./gradlew dist -x test
- name: Run Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CLOUD=true
GROOVY_VERSION=2.5.13
GROOVY_VERSION=3.0.11

0 comments on commit def49d9

Please sign in to comment.