File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,28 +230,11 @@ jobs:
230230 working-directory : bitkit-e2e-tests
231231 run : npm ci
232232
233- - name : Cache Homebrew packages
234- uses : actions/cache@v4
235- with :
236- path : |
237- ~/Library/Caches/Homebrew/ffmpeg--*
238- ~/Library/Caches/Homebrew/downloads/*ffmpeg*
239- /opt/homebrew/Cellar/ffmpeg
240- key : ${{ runner.os }}-homebrew-ffmpeg-v1
241- restore-keys : |
242- ${{ runner.os }}-homebrew-ffmpeg-
243-
244233 - name : Install ffmpeg
245234 run : |
246- if command -v ffmpeg &> /dev/null; then
247- echo "ffmpeg already installed: $(ffmpeg -version | head -1)"
248- elif [ -d "/opt/homebrew/Cellar/ffmpeg" ]; then
249- echo "ffmpeg cached, linking..."
250- brew link ffmpeg
251- else
252- echo "Installing ffmpeg..."
253- brew install ffmpeg
254- fi
235+ echo "Installing ffmpeg..."
236+ brew install ffmpeg || brew upgrade ffmpeg || true
237+ echo "ffmpeg version: $(ffmpeg -version | head -1)"
255238
256239 - name : Boot Simulator
257240 run : |
You can’t perform that action at this time.
0 commit comments