Skip to content

Commit fa8d3c3

Browse files
Install ffmpeg via package managers in UI CI
Replace the third-party setup action with native package-manager commands for FFmpeg installation in UI test workflows. Updated macOS, Ubuntu and Windows workflows to use `brew install ffmpeg`, `sudo apt-get install -y ffmpeg`, and `choco install ffmpeg -y` respectively. This reduces reliance on an external action (and its rate limits) and simplifies CI environment setup. Files changed: .github/workflows/test-ui-mac.yml, .github/workflows/test-ui-ubuntu.yml, .github/workflows/test-ui-windows.yml.
1 parent f84fba2 commit fa8d3c3

3 files changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/test-ui-mac.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ jobs:
3838
distribution: zulu
3939
java-version: 11
4040
- name: Setup FFmpeg
41-
uses: FedericoCarboni/setup-ffmpeg@583042d32dd1cabb8bd09df03bde06080da5c87c # v2
42-
with:
43-
# Not strictly necessary, but it may prevent rate limit
44-
# errors especially on GitHub-hosted macos machines.
45-
token: ${{ secrets.GITHUB_TOKEN }}
41+
run: brew install ffmpeg
4642
# Perform clean before testing
4743
- name: Clean
4844
run: ./gradlew clean

.github/workflows/test-ui-ubuntu.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ jobs:
3737
distribution: zulu
3838
java-version: 11
3939
- name: Setup FFmpeg
40-
uses: FedericoCarboni/setup-ffmpeg@583042d32dd1cabb8bd09df03bde06080da5c87c # v2
41-
with:
42-
# Not strictly necessary, but it may prevent rate limit
43-
# errors especially on GitHub-hosted macos machines.
44-
token: ${{ secrets.GITHUB_TOKEN }}
40+
run: sudo apt-get update && sudo apt-get install -y ffmpeg
4541
# Perform clean before testing
4642
- name: Clean
4743
run: ./gradlew clean

.github/workflows/test-ui-windows.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ jobs:
3737
distribution: zulu
3838
java-version: 11
3939
- name: Setup FFmpeg
40-
uses: FedericoCarboni/setup-ffmpeg@583042d32dd1cabb8bd09df03bde06080da5c87c # v2
41-
with:
42-
# Not strictly necessary, but it may prevent rate limit
43-
# errors especially on GitHub-hosted macos machines.
44-
token: ${{ secrets.GITHUB_TOKEN }}
40+
run: choco install ffmpeg -y
4541
# Perform clean before testing
4642
- name: Clean
4743
run: ./gradlew clean

0 commit comments

Comments
 (0)