master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.4k stars 147 forks source link

windows build workflow can fail because of rust-cache #840

Open Uranite opened 1 month ago

Uranite commented 1 month ago

It seems that Rust-cache seems to be causing the build workflow to fail https://github.com/master-of-zen/Av1an/commit/605bad6773025ceae938d48862e9cf99685d1d98 when going from FFmpeg 6.0 to FFmpeg 7.0. This can of course happen every time the ffmpeg version is modified, I don't really know how this can be fixed, maybe by using Rust-cache's prefix-key? Maybe something like this, so that it doesn't reuse the cache when the FFmpeg version is different.

- uses: Swatinem/rust-cache@v2
  with:
    prefix-key: "ffmpeg-${{ env.ffmpeg_ver }}-av1an"