Lines Matching +full:check +full:- +full:api +full:- +full:version
1 name: Check API compatibility
6 check-api-compatibility:
7 runs-on: ubuntu-latest
10 - name: Checkout old version
14 path: 'gson-old-japicmp'
16 - name: Set up JDK 11
17 uses: actions/setup-java@v3
20 java-version: '11'
23 - name: Build old version
25 cd gson-old-japicmp
26 # Set dummy version
27 …mvn --batch-mode --no-transfer-progress org.codehaus.mojo:versions-maven-plugin:2.11.0:set -DnewVe…
28 …# Install artifacts with dummy version in local repository; used later by Maven plugin for compari…
29 mvn --batch-mode --no-transfer-progress install -DskipTests
31 - name: Checkout new version
34 - name: Check API compatibility
35 id: check-compatibility
37 mvn --batch-mode --fail-at-end --no-transfer-progress package japicmp:cmp -DskipTests
39 - name: Upload API differences artifacts
40 uses: actions/upload-artifact@v3
42 # or when API compatibility check failed
43 if: success() || ( failure() && steps.check-compatibility.outcome == 'failure' )
45 name: api-differences
47 **/japicmp/default-cli.html
48 **/japicmp/default-cli.diff
50 if-no-files-found: error