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
|
||||
tar xf $i
|
||||
done
|
||||
# If ./debs is empty - exit.
|
||||
rmdir ./debs && exit 0
|
||||
# Retrieve old db since we can't generate the complete one without
|
||||
# all repository packages.
|
||||
curl --fail --retry 3 --retry-connrefused --retry-delay 10 \
|
||||
|
Loading…
Reference in New Issue
Block a user