Skip to content

Commit 072b5f2

Browse files
authored
build: specify gradle version
1 parent 8969d08 commit 072b5f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
path: ~/.gradle/caches
3030
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
3131
restore-keys: ${{ runner.os }}-gradle
32+
gradle-version: 7.6
3233
- name: Build and analyze
3334
env:
3435
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3536
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
36-
run: gradle wrapper --gradle-version 7.6 && ./gradlew build sonarqube --info
37+
run: gradle wrapper && ./gradlew build sonarqube --info

0 commit comments

Comments
 (0)