From 7f6eef0e5f76b27e4993b0c0767f1e8e3f1b2481 Mon Sep 17 00:00:00 2001 From: BtbN Date: Mon, 13 Jun 2022 00:25:51 +0200 Subject: [PATCH] Add option to trigger ffmpeg-only build --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 82553ba..52d8135 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,11 @@ on: type: boolean default: false required: false + buildOnly: + description: 'Only build ffmpeg' + type: boolean + default: false + required: false schedule: - cron: '0 12 * * *' @@ -21,6 +26,7 @@ env: jobs: build_base: name: Build base image + if: ${{ github.event.inputs.buildOnly != 'true' }} runs-on: ubuntu-latest steps: - name: Checkout @@ -51,6 +57,7 @@ jobs: cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache build_target_bases: name: Build target base image + if: ${{ github.event.inputs.buildOnly != 'true' }} needs: build_base runs-on: ubuntu-latest strategy: @@ -86,6 +93,7 @@ jobs: cache-from: type=registry,ref=${{ steps.imagename.outputs.name }}:cache build_targets: name: Build target-variant image + if: ${{ github.event.inputs.buildOnly != 'true' }} needs: build_target_bases runs-on: ubuntu-latest strategy: