File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : prebuild
2
2
on : [push]
3
3
4
+ permissions :
5
+ contents : write
6
+
4
7
jobs :
5
8
linux-package :
9
+ permissions :
10
+ contents : write
6
11
runs-on : ubuntu-24.04
7
12
container :
8
13
image : ubuntu:24.04
33
38
# run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
34
39
35
40
package :
41
+ permissions :
42
+ contents : write
36
43
runs-on : ${{ matrix.os }}
37
44
strategy :
38
45
fail-fast : false
61
68
env :
62
69
PREBUILD : true
63
70
64
-
65
71
- name : install Mac dependencies (shared release x64)
66
72
run : node ./install_ffmpeg.js --arch x64
67
73
if : ${{ runner.os == 'macOS'}}
78
84
run : npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --verbose --upload ${{ secrets.GITHUB_TOKEN }}
79
85
if : ${{ runner.os == 'macOS'}}
80
86
81
- # - name: prebuild Debug for macOS (x64)
82
- # run: npx prebuild --debug --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
83
- # if: ${{ runner.os == 'macOS'}}
84
-
85
87
- name : clean build directory for cross-compiling
86
88
run : rm ./build/Release/*.dylib || true
87
89
if : ${{ runner.os == 'macOS'}}
You can’t perform that action at this time.
0 commit comments