build_rocky - support ccache

This commit is contained in:
Andrej730
2025-10-03 12:58:44 +05:00
parent b61000d2fe
commit bd094f930e
+5 -5
View File
@@ -47,11 +47,11 @@ jobs:
install_root=$(find ./build -maxdepth 4 -type d -name install 2>/dev/null | head -n 1 || true) install_root=$(find ./build -maxdepth 4 -type d -name install 2>/dev/null | head -n 1 || true)
[ -n "$install_root" ] && find "$install_root" -type f -name 'cache-*.tar.gz' -maxdepth 1 -exec tar -xzf {} -C "$install_root" \; || true [ -n "$install_root" ] && find "$install_root" -type f -name 'cache-*.tar.gz' -maxdepth 1 -exec tar -xzf {} -C "$install_root" \; || true
# Not supported on docker - name: ccache
# - name: ccache # Using fork to support Rocky.
# uses: hendrikmuhs/ccache-action@v1 uses: Andrej730/ccache-action@main
# with: with:
# key: ubuntu-22.04-${{ runner.arch }}-rockylinux8 key: ubuntu-22.04-${{ runner.arch }}-rockylinux8
- name: Run Build Script - name: Run Build Script
shell: bash shell: bash