fixup(ci): do not lint all packages when %ci:no-build
is added to HEAD commit
This commit is contained in:
parent
d3183cf5f5
commit
e7431f5aea
8
.github/workflows/packages.yml
vendored
8
.github/workflows/packages.yml
vendored
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user