forked from loafle/openapi-generator-original
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
57 lines
2.0 KiB
YAML
57 lines
2.0 KiB
YAML
name: Samples JAX-RS
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'samples/server/petstore/jaxrs*/**'
|
|
pull_request:
|
|
paths:
|
|
- 'samples/server/petstore/jaxrs*/**'
|
|
jobs:
|
|
build:
|
|
name: Build JAX-RS
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
sample:
|
|
# servers
|
|
- samples/server/petstore/jaxrs/jersey2
|
|
- samples/server/petstore/jaxrs/jersey2-useTags
|
|
- samples/server/petstore/jaxrs-jersey
|
|
- samples/server/petstore/jaxrs-spec
|
|
- samples/server/petstore/jaxrs-spec-interface
|
|
- samples/server/petstore/jaxrs-spec-interface-response
|
|
- samples/server/petstore/jaxrs-jersey
|
|
- samples/server/petstore/jaxrs-spec
|
|
- samples/server/petstore/jaxrs-spec-interface
|
|
- samples/server/petstore/jaxrs-spec-interface-response
|
|
- samples/server/petstore/jaxrs-datelib-j8
|
|
- samples/server/petstore/jaxrs-resteasy/default
|
|
- samples/server/petstore/jaxrs-resteasy/eap
|
|
- samples/server/petstore/jaxrs-resteasy/eap-joda
|
|
- samples/server/petstore/jaxrs-resteasy/eap-java8
|
|
- samples/server/petstore/jaxrs-resteasy/joda
|
|
- samples/server/petstore/jaxrs-cxf
|
|
- samples/server/petstore/jaxrs-cxf-annotated-base-path
|
|
- samples/server/petstore/jaxrs-cxf-cdi
|
|
- samples/server/petstore/jaxrs-cxf-non-spring-app
|
|
- samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 8
|
|
- 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
|