From 7a4bf957206bffad0b10a6862359fa9198423f74 Mon Sep 17 00:00:00 2001 From: hanbowen Date: Thu, 16 Jun 2022 16:53:30 +0800 Subject: [PATCH] add options input --- .github/workflows/publish_release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 04feac6..88e4b81 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -2,14 +2,15 @@ name: build release binaries on: workflow_dispatch: inputs: - message: - required: false + build_options: + required: true + default: -libbluray -android=21 jobs: release: runs-on: ubuntu-latest strategy: matrix: - abi: [ "armeabi-v7a", "arm64-v8a", "x86", "x86_64" ] + abi: [ "armeabi-v7a", "arm64-v8a" ] fail-fast: true steps: - uses: actions/checkout@v2 @@ -23,7 +24,7 @@ jobs: run: | export ANDROID_SDK_HOME=$ANDROID_HOME export ANDROID_NDK_HOME=$ANDROID_NDK_LATEST_HOME - ./ffmpeg-android-maker.sh -all-free -all-gpl -android=21 -abis=${{ matrix.abi }} + ./ffmpeg-android-maker.sh ${{ build_options }} -abis=${{ matrix.abi }} - name: Pack artifacts run: tar -cf build.tar.gz build/