Skip to content

Commit 6ff9e67

Browse files
Specify Gradle version (#21720)
1 parent 3e577d5 commit 6ff9e67

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/linux.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- master
1111
- '[5-9]+.[0-9]+.x'
1212

13+
env:
14+
GRADLE_VERSION: '8.14.3'
15+
1316
jobs:
1417
build:
1518
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
@@ -65,7 +68,9 @@ jobs:
6568

6669
- name: Test Gradle plugin usage
6770
shell: bash
68-
run: gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace
71+
run: gradle --project-dir modules/openapi-generator-gradle-plugin/samples/local-spec buildGoSdk --stacktrace
72+
with:
73+
gradle-version: ${{ env.GRADLE_VERSION }}
6974

7075
- name: Test Maven plugin integration
7176
if: matrix.java == '11'

0 commit comments

Comments
 (0)