Skip to content

Commit 1870fbb

Browse files
authored
Fix github workflow (linux.yaml) (#21743)
* remove with from workflow * test with gradle 8.x
1 parent 9cb04c1 commit 1870fbb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/linux.yaml

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

13-
env:
14-
GRADLE_VERSION: '8.14.3'
15-
1613
jobs:
1714
build:
1815
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
@@ -47,6 +44,10 @@ jobs:
4744
restore-keys: |
4845
${{ runner.os }}-gradle-
4946
47+
- uses: gradle/actions/setup-gradle@v3
48+
with:
49+
gradle-version: '8.14.3'
50+
5051
- name: Setup Maven
5152
5253
with:
@@ -69,8 +70,6 @@ jobs:
6970
- name: Test Gradle plugin usage
7071
shell: bash
7172
run: gradle --project-dir modules/openapi-generator-gradle-plugin/samples/local-spec buildGoSdk --stacktrace
72-
with:
73-
gradle-version: ${{ env.GRADLE_VERSION }}
7473

7574
- name: Test Maven plugin integration
7675
if: matrix.java == '11'

0 commit comments

Comments
 (0)