File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 with :
2828 distribution : ' temurin'
2929 java-version : ${{ matrix.java }}
30+ cache : gradle
3031
3132 - uses : actions/cache@v5
3233 with :
@@ -50,22 +51,27 @@ jobs:
5051 java-version : ${{ matrix.java }}
5152 maven-version : 3.8.8
5253
54+ - uses : gradle/actions/setup-gradle@v6
55+ with :
56+ cache-disabled : true
57+ gradle-version : ' 8.14.3'
58+
5359 - name : Build with Maven
5460 shell : bash
5561 run : ./mvnw clean -nsu -B --quiet -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress install --file pom.xml
5662 env :
5763 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
5864
5965 - name : Upload Maven build artifact
60- uses : actions/upload-artifact@v5
66+ uses : actions/upload-artifact@v7
6167 if : matrix.java == '11' && matrix.os == 'ubuntu-latest'
6268 with :
6369 name : artifact
6470 path : modules/openapi-generator-cli/target/openapi-generator-cli.jar
6571
6672 - name : Test Gradle plugin usage
6773 shell : bash
68- run : gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace
74+ run : gradle --project-dir modules/openapi-generator-gradle-plugin/samples/local-spec buildGoSdk --stacktrace
6975
7076 - name : Test Maven plugin integration
7177 if : matrix.java == '11'
9197 with :
9298 java-version : 11
9399 maven-version : 3.8.8
100+ cache : gradle
94101 - name : Download build artifact
95102 uses : actions/download-artifact@v5
96103 with :
Original file line number Diff line number Diff line change 2424 with :
2525 java-version : ${{ matrix.java }}
2626 distribution : ' temurin'
27+ cache : gradle
2728 - name : Cache maven dependencies
2829 uses : actions/cache@v5
2930 env :
5455 java -jar ./openapi-generator-cli.jar author template --verbose -g jaxrs-spec --library quarkus
5556 - name : Setup Gradle
5657 uses : gradle/gradle-build-action@v3
58+ with :
59+ gradle-version : ' 8.14.3'
5760 - name : Gradle tests
5861 run : |
59- gradle -b modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle buildGoSdk --stacktrace
62+ gradle --project-dir modules/openapi-generator-gradle-plugin/samples/local-spec buildGoSdk --stacktrace
You can’t perform that action at this time.
0 commit comments