forked from loafle/openapi-generator-original
* Add support for Helidon 4 MP client and server generation Signed-off-by: Tim Quinn <tim.quinn@oracle.com> * Rerun samples generation trying to fix spring jobs Signed-off-by: Tim Quinn <tim.quinn@oracle.com> * Update copyright Signed-off-by: Tim Quinn <tim.quinn@oracle.com> * Correct the copyright notice Signed-off-by: Tim Quinn <tim.quinn@oracle.com> --------- Signed-off-by: Tim Quinn <tim.quinn@oracle.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Samples Java Helidon v4
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- samples/client/petstore/java-helidon-client/v4/**
|
|
- samples/server/petstore/java-helidon-server/v4/**
|
|
pull_request:
|
|
paths:
|
|
- samples/client/petstore/java-helidon-client/v4/**
|
|
- samples/server/petstore/java-helidon-server/v4/**
|
|
jobs:
|
|
build:
|
|
name: Build Java Helidon
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
- samples/client/petstore/java-helidon-client/v4/mp
|
|
- samples/server/petstore/java-helidon-server/v4/mp
|
|
version: [21]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: ${{ matrix.version }}
|
|
- name: Cache maven dependencies
|
|
uses: actions/cache@v4
|
|
env:
|
|
cache-name: maven-repository
|
|
with:
|
|
path: |
|
|
~/.m2
|
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
|
- name: Build
|
|
working-directory: ${{ matrix.sample }}
|
|
run: mvn clean package
|