1- name : Samples Java Client JDK11
1+ name : Samples Java Petsore Client JDK11
22
33on :
44 push :
55 paths :
66 - samples/client/petstore/java/jersey2-java8/**
77 - samples/openapi3/client/petstore/java/jersey2-java8/**
88 - samples/client/petstore/java/jersey3/**
9- - samples/client/petstore/java/jersey3-oneOf/**
10- - samples/client/others/java/okhttp-gson-streaming/**
9+ # - samples/client/petstore/java/jersey3-oneOf/**
10+ # - samples/client/others/java/okhttp-gson-streaming/**
1111 - samples/client/petstore/java/okhttp-gson/**
1212 - samples/client/petstore/java/okhttp-gson-3.1/**
1313 - samples/client/petstore/java/okhttp-gson-dynamicOperations/**
14- - samples/client/petstore/java/resteasy/**
14+ # - samples/client/petstore/java/resteasy/**
1515 - samples/client/petstore/java-micronaut-client/**
16- - samples/client/petstore/java/apache-httpclient/**
17- - samples/client/petstore/java/resttemplate-jakarta/**
16+ # - samples/client/petstore/java/apache-httpclient/**
17+ # - samples/client/petstore/java/resttemplate-jakarta/**
1818 pull_request :
1919 paths :
2020 - samples/client/petstore/java/jersey2-java8/**
2121 - samples/openapi3/client/petstore/java/jersey2-java8/**
2222 - samples/client/petstore/java/jersey3/**
23- - samples/client/petstore/java/jersey3-oneOf/**
24- - samples/client/others/java/okhttp-gson-streaming/**
23+ # - samples/client/petstore/java/jersey3-oneOf/**
24+ # - samples/client/others/java/okhttp-gson-streaming/**
2525 - samples/client/petstore/java/okhttp-gson/**
2626 - samples/client/petstore/java/okhttp-gson-3.1/**
2727 - samples/client/petstore/java/okhttp-gson-dynamicOperations/**
28- - samples/client/petstore/java/resteasy/**
28+ # - samples/client/petstore/java/resteasy/**
2929 - samples/client/petstore/java-micronaut-client/**
30- - samples/client/petstore/java/apache-httpclient/**
31- - samples/client/petstore/java/resttemplate-jakarta/**
30+ # - samples/client/petstore/java/apache-httpclient/**
31+ # - samples/client/petstore/java/resttemplate-jakarta/**
3232jobs :
3333 build :
3434 name : Build Java Client JDK11
@@ -40,17 +40,28 @@ jobs:
4040 - samples/client/petstore/java/jersey2-java8
4141 - samples/openapi3/client/petstore/java/jersey2-java8
4242 - samples/client/petstore/java/jersey3
43- - samples/client/petstore/java/jersey3-oneOf
44- - samples/client/others/java/okhttp-gson-streaming
43+ # - samples/client/petstore/java/jersey3-oneOf
44+ # - samples/client/others/java/okhttp-gson-streaming
4545 - samples/client/petstore/java/okhttp-gson
4646 - samples/client/petstore/java/okhttp-gson-3.1
4747 - samples/client/petstore/java/okhttp-gson-dynamicOperations
48- - samples/client/petstore/java/resteasy
48+ # - samples/client/petstore/java/resteasy
4949 - samples/client/petstore/java-micronaut-client
50- - samples/client/petstore/java/apache-httpclient
51- - samples/client/petstore/java/resttemplate-jakarta
50+ # - samples/client/petstore/java/apache-httpclient
51+ # - samples/client/petstore/java/resttemplate-jakarta
52+ services :
53+ petstore-api :
54+ image : swaggerapi/petstore
55+ ports :
56+ - 80:8080
57+ env :
58+ SWAGGER_HOST : http://petstore.swagger.io
59+ SWAGGER_BASE_PATH : /v2
5260 steps :
5361 - uses : actions/checkout@v5
62+ - name : Add hosts to /etc/hosts
63+ run : |
64+ sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
5465 - uses : actions/setup-java@v5
5566 with :
5667 distribution : ' temurin'
0 commit comments