Skip to content

Commit

Permalink
Ugly hack
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmedd committed Jul 26, 2024
1 parent a70d6ab commit ff8c52e
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
run: |
conan cache save --file ./conan-cache.tgz '*/*:*'
- name: HACK - Save conan folders
shell: bash
run: |
tar -cvzf ./conan-raw.tgz ~/.conan2
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -80,28 +85,29 @@ jobs:
name: conan-cache
path: ./conan-cache.tgz

- name: HACK - Upload conan folders
uses: actions/upload-artifact@v4
with:
name: conan-raw
path: ./conan-raw.tgz

test:
name: Run up-transport-zenoh-cpp tests
runs-on: ubuntu-latest
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
- name: HACK - Get conan folders
uses: actions/download-artifact@v4
with:
name: conan-cache
name: conan-raw

- name: Restore conan cache from archive
- name: Restore conan folders
shell: bash
run: |
conan cache restore conan-cache.tgz
mv conan-raw.tgz ~/
cd ~/
tar -xvzf conan-cache.tgz
- name: Get build artifacts
uses: actions/download-artifact@v4
Expand Down

0 comments on commit ff8c52e

Please sign in to comment.