From 91a6bbb7bcc70e59dd95f23eeea90ab978b982a5 Mon Sep 17 00:00:00 2001 From: Srikanth Kotagiri Date: Mon, 8 Jul 2024 16:32:45 +0000 Subject: [PATCH] Fixing indentation --- .github/workflows/prebuild.yml | 56 +++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index f8e655b..3de6b7c 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -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: