diff --git a/.github/workflows/checkstyle.yaml b/.github/workflows/checkstyle.yaml index 8dcd5047a748..33276d269092 100644 --- a/.github/workflows/checkstyle.yaml +++ b/.github/workflows/checkstyle.yaml @@ -32,5 +32,19 @@ jobs: run: | make lint - name: CheckABI + id: CheckABI run: | make checkabi + - name: StoreABI + if: failure() && steps.CheckABI.outcome == 'failure' + run: | + make storeabi + - name: Prepare artifacts + if: failure() && steps.CheckABI.outcome == 'failure' + run: | + find -name *.abi | tar -cf abi_files.tar -T - + - uses: actions/upload-artifact@v2 + if: failure() && steps.CheckABI.outcome == 'failure' + with: + name: New ABI files (use only if you're sure about interface changes) + path: abi_files.tar