fix: Clean target cache and include UI files in cache key

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2026-03-19 14:47:07 -03:00
parent 85915863b3
commit 222e327259

View file

@ -46,11 +46,14 @@ jobs:
~/.cargo/git
~/.cache/sccache
workspace/target
key: ${{ runner.os }}-cargo-v2-debug-ui-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-v2-debug-ui-${{ hashFiles('**/Cargo.lock') }}-${{ hashFiles('ui/**/*.html', 'ui/**/*.js', 'ui/**/*.css') }}
restore-keys: |
${{ runner.os }}-cargo-v2-debug-ui-
${{ runner.os }}-cargo-v2-debug-
- name: Clean old target
run: rm -rf workspace/target || true
- name: Install system dependencies
run: |
sudo apt-get update