diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13500ac..d325f93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Restore Conan Cache + id: conan-cache-restore + uses: actions/cache/restore@v4 + with: + path: | + /home/runner/.conan2 + /home/runner/work/spectatord/spectatord/cmake-build + /home/runner/work/spectatord/spectatord/ska + key: ${{ runner.os }}-conan + - name: Install System Dependencies run: | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test @@ -23,3 +33,13 @@ jobs: ./setup-venv.sh source venv/bin/activate ./build.sh + + - name: Save Conan Cache + id: conan-cache-save + uses: actions/cache/save@v4 + with: + path: | + /home/runner/.conan2 + /home/runner/work/spectatord/spectatord/cmake-build + /home/runner/work/spectatord/spectatord/ska + key: ${{ steps.conan-cache-restore.outputs.cache-primary-key }}