👷 map build condition

This commit is contained in:
niuhuan 2024-04-02 13:39:21 +08:00
parent f47f58bcee
commit df97af54cf
1 changed files with 1 additions and 1 deletions

View File

@ -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"