diff --git a/.forgejo/workflows/botui.yaml b/.forgejo/workflows/botui.yaml index 176d322..f884ec9 100644 --- a/.forgejo/workflows/botui.yaml +++ b/.forgejo/workflows/botui.yaml @@ -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