CI: update-whatprovides-db: exit if ./debs directory is empty
This commit is contained in:
parent
5d4730f139
commit
980500a2f7
2
.github/workflows/packages.yml
vendored
2
.github/workflows/packages.yml
vendored
@ -154,6 +154,8 @@ jobs:
|
|||||||
for i in debs-*.tar; do
|
for i in debs-*.tar; do
|
||||||
tar xf $i
|
tar xf $i
|
||||||
done
|
done
|
||||||
|
# If ./debs is empty - exit.
|
||||||
|
rmdir ./debs && exit 0
|
||||||
# Retrieve old db since we can't generate the complete one without
|
# Retrieve old db since we can't generate the complete one without
|
||||||
# all repository packages.
|
# all repository packages.
|
||||||
curl --fail --retry 3 --retry-connrefused --retry-delay 10 \
|
curl --fail --retry 3 --retry-connrefused --retry-delay 10 \
|
||||||
|
Loading…
Reference in New Issue
Block a user