#github workflow that caches rust dependencies and uses tauri-action

5 messages · Page 1 of 1 (latest)

subtle crow
#

o/ i'm having a hard time figuring out how to cache dependencies for the tauri-action app, as it spends ~15 minutes just compiling dependencies. here's my workflow: https://github.com/Revxrsal/focus-assistant/blob/master/.github/workflows/publish.yml

it doesn't seem to cache them, any ideas?

GitHub

A simple but powerful pomodoro-like application that blocks any distracting apps during focus sessions - Revxrsal/focus-assistant

worthy dome
#

Try adding this to the rust-cache config:

workspaces: './src-tauri -> target'
#

according to the logs it currently only saves the ~/.cargo folder and looks for the target dir in the project root, not src-tauri

subtle crow
#

ahhhh i see

subtle crow
#

yep that did the trick. thanks!