Fix for macOS actions cache (#804)

This commit is contained in:
Raivis Dejus 2024-06-19 07:46:42 +03:00 committed by GitHub
commit 826f62c558
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -45,7 +45,7 @@ jobs:
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ runner.architecture }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/poetry.lock') }}
- name: Load cached Whisper models
id: cached-whisper-models
@ -56,7 +56,7 @@ jobs:
~/.cache/whisper
~/.cache/huggingface
~/AppData/Local/Buzz/Buzz/Cache
key: whisper-models-${{ runner.os }}
key: whisper-models
- uses: FedericoCarboni/setup-ffmpeg@v3.1
id: setup-ffmpeg
@ -117,7 +117,7 @@ jobs:
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ runner.architecture }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/poetry.lock') }}
- uses: FedericoCarboni/setup-ffmpeg@v3.1
id: setup-ffmpeg

View file

@ -50,6 +50,7 @@ Linux versions get also pushed to the snap. To install latest development versio
```
sudo apt-get install --no-install-recommends libyaml-dev libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-shape0 libxcb-cursor0 libportaudio2 gettext libpulse0 ffmpeg
```
On versions prior to Ubuntu 24.04 install `sudo apt-get install --no-install-recommends libegl1-mesa`
7. Build Buzz `poetry build`
8. Run Buzz `python -m buzz`