From 28993d27b15f1f7f7e1d950b18712dd4aec17345 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 30 May 2024 14:53:45 +0200 Subject: [PATCH] ci: cleanup of Conan local cache --- .github/workflows/ci-conan.yml | 4 ++-- .github/workflows/ci-test-package-cmake.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-conan.yml b/.github/workflows/ci-conan.yml index 1526a2c5..44bdf8e4 100644 --- a/.github/workflows/ci-conan.yml +++ b/.github/workflows/ci-conan.yml @@ -260,8 +260,8 @@ jobs: shell: bash run: | conan remove mp-units --confirm - conan remove *#!latest --confirm - conan remove *:*#!latest --confirm + conan remove *#~latest --confirm + conan remove *:*#~latest --confirm conan cache clean "*" -s -b -d outputs: package_ref: ${{ steps.get-package-ref.outputs.PACKAGE_REF }} diff --git a/.github/workflows/ci-test-package-cmake.yml b/.github/workflows/ci-test-package-cmake.yml index ea812567..024ad0ac 100644 --- a/.github/workflows/ci-test-package-cmake.yml +++ b/.github/workflows/ci-test-package-cmake.yml @@ -306,3 +306,9 @@ jobs: working-directory: test_package/build/install/${{ matrix.build_type }} run: | ./test_package + - name: Clean Conan cache before backup + shell: bash + run: | + conan remove *#~latest --confirm + conan remove *:*#~latest --confirm + conan cache clean "*" -s -b -d