andydevs / fractool

Generic fractal image generator
https://andydevs.github.io/fractool
MIT License
1 stars 0 forks source link

Resolve caching issue on build #26

Closed andydevs closed 2 years ago

andydevs commented 2 years ago

Build may not be caching properly on CI

Probably because you spelled workspace wrong

- name: Cache Dependencies
  uses: actions/cache@v2
  with:
    path: |
      ${{ github.workspace }}/build/boost-prefix
      ${{ github.worksapce }}/build/opencv-prefix # <-- should be ${{ github.workspace }}
    key: dependencies
andydevs commented 2 years ago

What if you just cached the entire build directory?

For now, the things that make up most of the build duration is OpenCV, with boost being second.