diff --git a/.github/workflows/abi-checker.yml b/.github/workflows/abi-checker.yml index 9f0bc0435..96ad80244 100644 --- a/.github/workflows/abi-checker.yml +++ b/.github/workflows/abi-checker.yml @@ -28,7 +28,17 @@ jobs: fetch-depth: 0 ref: ${{steps.pr.outputs.merge_commit_sha}} + - name: Restore abigail tools + id: cache-abigail-tools-restore + if: always() && steps.cache-abigail-tools-restore.outputs.cache-hit != 'true' + uses: actions/cache/restore@v4 + with: + key: cache-abigail-tools + path: | + . + - name: "Prepare abigail-tools" + if: always() && steps.cache-abigail-tools-restore.outputs.cache-hit != 'true' run: | mkdir deb cd deb @@ -40,6 +50,15 @@ jobs: dpkg-buildpackage sudo dpkg -i ../*.deb + - name: Save abigail tools + id: cache-abigail-tools-save + if: always() && steps.cache-abigail-tools-restore.outputs.cache-hit != 'true' + uses: actions/cache/save@v4 + with: + key: cache-abigail-tools + path: | + . + - name: "Prepare environment" run: | sudo apt-get update -q -y