Skip to content

Commit

Permalink
Fixing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Srikanth Kotagiri committed Jul 8, 2024
1 parent 5f888e1 commit 91a6bbb
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@ jobs:
linux-package:
permissions:
contents: write
runs-on: ubuntu-24.04
container:
image: ubuntu:24.04
steps:
- name: check Linux dependencies
shell: bash
run: |
apt update
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y git git-lfs libxcb1 unzip nodejs curl nodejs npm
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y python3-setuptools build-essential
- uses: actions/checkout@v2
with:
lfs: true

- name: npm install
run: npm install
env:
PREBUILD: true

- name: check Linux dependencies
run: node ./install_ffmpeg.js

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

# - name: prebuild for Linux (arm64)
# run: npx prebuild --runtime napi --arch arm64 --include-regex '(\.node|\.dylib|ffmpeg|ffprobe)$' --upload ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-24.04
container:
image: ubuntu:24.04
steps:
- name: check Linux dependencies
shell: bash
run: |
apt update
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y git git-lfs libxcb1 unzip nodejs curl nodejs npm
DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends --no-install-suggests -y python3-setuptools build-essential
- uses: actions/checkout@v2
with:
lfs: true

- name: npm install
run: npm install
env:
PREBUILD: true

- name: check Linux dependencies
run: node ./install_ffmpeg.js

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

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

package:
permissions:
Expand Down

0 comments on commit 91a6bbb

Please sign in to comment.