From df97af54cf1d5512674d661df2060b3764e6c11b Mon Sep 17 00:00:00 2001 From: niuhuan Date: Tue, 2 Apr 2024 13:39:21 +0800 Subject: [PATCH] :construction_worker: map build condition --- .github/workflows/Package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index d60fa82..c0043fe 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -32,7 +32,7 @@ jobs: - name: need_build id: need_build run: | - if [ '${{ matrix.config.target }}' == 'android' ] && [ ${{ ${{ github.event.inputs.PACKAGE_IOS }}.PACKAGE_ANDROID }} == 'true' ]; then + if [ '${{ matrix.config.target }}' == 'android' ] && [ ${{ github.event.inputs.PACKAGE_ANDROID }} == 'true' ]; then echo "::set-output name=need_build::true" elif [ ${{ matrix.config.target }} == 'ios' ] && [ ${{ env.PACKAGE_IOS }} == 'true' ]; then echo "::set-output name=need_build::true"