Skip to content

Commit b27dc79

Browse files
Moving ffmpeg to dynamic dependency
1 parent ed71d82 commit b27dc79

File tree

3 files changed

+181
-113
lines changed

3 files changed

+181
-113
lines changed

.github/workflows/prebuild.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: node ./install_ffmpeg.js
3333

3434
- name: prebuild for Linux (x64)
35-
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
35+
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node)$' --upload ${{ secrets.GITHUB_TOKEN }}
3636

3737
windows-package:
3838
permissions:
@@ -89,10 +89,10 @@ jobs:
8989
run: node ./install_ffmpeg.js --arch arm64
9090

9191
- name: prebuild Release for macOS (x64)
92-
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
92+
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
9393

9494
- name: clean build directory for cross-compiling
9595
run: rm ./build/Release/*.dylib || true
9696

9797
- name: prebuild Release for macOS (arm64)
98-
run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
98+
run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)