fixup(ci): do not lint all packages when `%ci:no-build` is added to HEAD commit

This commit is contained in:
Yaksh Bariya 2022-04-19 20:51:26 +05:30
parent d3183cf5f5
commit e7431f5aea
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 6 additions and 2 deletions

View File

@ -168,7 +168,9 @@ jobs:
fi
done
./scripts/lint-packages.sh $package_recipes
if [ ! -z "$package_recipes" ]; then
./scripts/lint-packages.sh $package_recipes
fi
- name: Build packages
run: |
@ -181,7 +183,9 @@ jobs:
fi
done
./scripts/run-docker.sh ./build-package.sh -I -a ${{ matrix.target_arch }} $packages
if [ ! -z "$packages" ]; then
./scripts/run-docker.sh ./build-package.sh -I -a ${{ matrix.target_arch }} $packages
fi
- name: Generate build artifacts
if: always()