Fix github workflow (linux.yaml) (#21743)

* remove with from workflow

* test with gradle 8.x
This commit is contained in:
William Cheng 2025-08-14 13:19:22 +08:00 committed by GitHub
parent 9cb04c1b9d
commit 1870fbb7cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,9 +10,6 @@ on:
- master
- '[5-9]+.[0-9]+.x'
env:
GRADLE_VERSION: '8.14.3'
jobs:
build:
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
@ -47,6 +44,10 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- uses: gradle/actions/setup-gradle@v3
with:
gradle-version: '8.14.3'
- name: Setup Maven
uses: s4u/setup-maven-action@v1.18.0
with:
@ -69,8 +70,6 @@ jobs:
- name: Test Gradle plugin usage
shell: bash
run: gradle --project-dir modules/openapi-generator-gradle-plugin/samples/local-spec buildGoSdk --stacktrace
with:
gradle-version: ${{ env.GRADLE_VERSION }}
- name: Test Maven plugin integration
if: matrix.java == '11'