Skip to content

Commit e7e3ed6

Browse files
author
Srikanth Kotagiri
committed
indent
1 parent 91a6bbb commit e7e3ed6

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/prebuild.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,36 @@ permissions:
66

77
jobs:
88
linux-package:
9-
permissions:
10-
contents: write
11-
runs-on: ubuntu-24.04
12-
container:
13-
image: ubuntu:24.04
14-
steps:
15-
- name: check Linux dependencies
16-
shell: bash
17-
run: |
18-
apt update
19-
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y git git-lfs libxcb1 unzip nodejs curl nodejs npm
20-
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y python3-setuptools build-essential
21-
22-
- uses: actions/checkout@v2
23-
with:
24-
lfs: true
25-
26-
- name: npm install
27-
run: npm install
28-
env:
29-
PREBUILD: true
30-
31-
- name: check Linux dependencies
32-
run: node ./install_ffmpeg.js
33-
34-
- name: prebuild for Linux (x64)
35-
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
36-
37-
# - name: prebuild for Linux (arm64)
38-
# run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
9+
permissions:
10+
contents: write
11+
runs-on: ubuntu-24.04
12+
container:
13+
image: ubuntu:24.04
14+
steps:
15+
- name: check Linux dependencies
16+
shell: bash
17+
run: |
18+
apt update
19+
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y git git-lfs libxcb1 unzip nodejs curl nodejs npm
20+
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y python3-setuptools build-essential
21+
22+
- uses: actions/checkout@v2
23+
with:
24+
lfs: true
25+
26+
- name: npm install
27+
run: npm install
28+
env:
29+
PREBUILD: true
30+
31+
- name: check Linux dependencies
32+
run: node ./install_ffmpeg.js
33+
34+
- name: prebuild for Linux (x64)
35+
run: npx prebuild --runtime napi --arch x64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
36+
37+
# - name: prebuild for Linux (arm64)
38+
# run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
3939

4040
package:
4141
permissions:

0 commit comments

Comments
 (0)