Skip to content

Commit a7e466b

Browse files
authored
Test Multiple Versions of openapi-generator-maven-plugin in GitHub Actions (#464)
Testing multiple versions of `openapi-generator-maven-plugin` during GitHub checks.
1 parent 3be09be commit a7e466b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
java: [ 17, 21 ]
23+
openapi-generator-maven-plugin-version: [ 7.14.0, 7.13.0, 7.12.0, 7.11.0 ]
2424
steps:
2525
- uses: actions/checkout@v4
2626
- name: Set up JDK
2727
uses: actions/setup-java@v4
2828
with:
29-
java-version: ${{ matrix.java }}
29+
java-version: '17'
3030
distribution: 'temurin'
3131
cache: maven
32-
- name: Build with Maven
33-
run: mvn -B package --no-transfer-progress --file pom.xml
32+
- name: Maven Build - openapi-generator-maven-plugin:${{ matrix.openapi-generator-maven-plugin-version }}
33+
run: mvn -B package --no-transfer-progress --file pom.xml -Dopenapi-generator-maven-plugin.version=${{ matrix.openapi-generator-maven-plugin-version }}

0 commit comments

Comments
 (0)