diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 668bbdc57..ce01de9f3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -221,6 +221,12 @@ jobs: upload_url: ${{ github.event.release.upload_url }} asset_path: output/images/haos_* + - name: Print cache stats + run: | + echo "Cache size: $(du -sh /mnt/cache/cc)" + echo "Files total: $(find /mnt/cache/cc -mindepth 1 -type f | wc -l)" + echo "Old files: $(find /mnt/cache/cc -mindepth 1 -type f -not -anewer output/Makefile | wc -l)" + - name: "Save cache: object files" if: github.ref == 'refs/heads/dev' uses: actions/cache/save@v3 @@ -228,12 +234,6 @@ jobs: path: /mnt/cache/cc key: haos-cc-${{ matrix.board.id }}-${{ github.run_id }} - - name: Print cache stats - run: | - echo "Cache size: $(du -sh /mnt/cache/cc)" - echo "Files total: $(find /mnt/cache/cc -mindepth 1 -type f | wc -l)" - echo "Old files: $(find /mnt/cache/cc -mindepth 1 -type f -not -anewer output/Makefile | wc -l)" - - name: Upload ova image to artifacts for test job uses: actions/upload-artifact@v3 if: ${{ matrix.board.id == 'ova' }}