ci: cleanup of Conan local cache

This commit is contained in:
Mateusz Pusz
2024-05-30 14:53:45 +02:00
parent ad15bb97c1
commit 28993d27b1
2 changed files with 8 additions and 2 deletions

View File

@@ -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 }}

View File

@@ -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