mirror of
https://github.com/RustyRaptor/flathub.git
synced 2026-12-03 15:45:20 -07:00
Rotate checker shards by workflow run number
This commit is contained in:
1 parent
9c5fe1ae88
commit
8e0c1912b4
1 file changed
+1
-2
@@ -45,8 +45,7 @@ if [[ -n "${APP_ID:-}" ]]; then
|
||||
fi
|
||||
candidates["$APP_ID"]=1
|
||||
else
|
||||
hour=$(date -u +%H)
|
||||
shard=$((10#$hour / 4))
|
||||
shard=$(((GITHUB_RUN_NUMBER - 1) % 6))
|
||||
echo "==> Discovering apps for shard $shard/6"
|
||||
for marker in extra-data x-checker-data .AppImage; do
|
||||
for extension in json yaml yml; do
|
||||
|
||||
Reference in new issue
Block a user