From 0b7d176ab56a3f67d27d47017bf7a3393a6cf07f Mon Sep 17 00:00:00 2001 From: Greg Medding Date: Fri, 26 Jul 2024 13:16:42 -0700 Subject: [PATCH] Need conan cache so zenoh shared libraries are available --- .github/workflows/ci.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8343920..a0e62df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,6 @@ jobs: - name: Install Conan id: conan uses: turtlebrowser/get-conan@main - with: - version: 2.3.2 - name: Create default Conan profile run: conan profile detect @@ -88,6 +86,23 @@ jobs: needs: build steps: + - name: Install Conan + id: conan + uses: turtlebrowser/get-conan@main + + - name: Create default Conan profile + run: conan profile detect + + - name: Get conan cache + uses: actions/download-artifact@v4 + with: + name: conan-cache + + - name: Restore conan cache from archive + shell: bash + run: | + conan cache restore conan-cache.tgz + - name: Get build artifacts uses: actions/download-artifact@v4 with: @@ -122,8 +137,6 @@ jobs: - name: Install Conan id: conan uses: turtlebrowser/get-conan@main - with: - version: 2.3.2 - name: Create default Conan profile run: conan profile detect