From e7e3ed62d004efdfb39c640e781c737185b89ecb Mon Sep 17 00:00:00 2001 From: Srikanth Kotagiri Date: Mon, 8 Jul 2024 16:34:20 +0000 Subject: [PATCH] indent --- .github/workflows/prebuild.yml | 60 +++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 3de6b7c..7673d55 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -6,36 +6,36 @@ permissions: 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 }} + 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 }} package: permissions: