mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 08:23:45 +00:00
Fix github workflow (linux.yaml) (#21743)
* remove with from workflow * test with gradle 8.x
This commit is contained in:
parent
9cb04c1b9d
commit
1870fbb7cf
9
.github/workflows/linux.yaml
vendored
9
.github/workflows/linux.yaml
vendored
@ -10,9 +10,6 @@ on:
|
|||||||
- master
|
- master
|
||||||
- '[5-9]+.[0-9]+.x'
|
- '[5-9]+.[0-9]+.x'
|
||||||
|
|
||||||
env:
|
|
||||||
GRADLE_VERSION: '8.14.3'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
|
name: 'Build: JDK ${{ matrix.java }} (${{ matrix.os }})'
|
||||||
@ -47,6 +44,10 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
|
- uses: gradle/actions/setup-gradle@v3
|
||||||
|
with:
|
||||||
|
gradle-version: '8.14.3'
|
||||||
|
|
||||||
- name: Setup Maven
|
- name: Setup Maven
|
||||||
uses: s4u/setup-maven-action@v1.18.0
|
uses: s4u/setup-maven-action@v1.18.0
|
||||||
with:
|
with:
|
||||||
@ -69,8 +70,6 @@ jobs:
|
|||||||
- name: Test Gradle plugin usage
|
- name: Test Gradle plugin usage
|
||||||
shell: bash
|
shell: bash
|
||||||
run: gradle --project-dir modules/openapi-generator-gradle-plugin/samples/local-spec buildGoSdk --stacktrace
|
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
|
- name: Test Maven plugin integration
|
||||||
if: matrix.java == '11'
|
if: matrix.java == '11'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user