mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-10 07:42:09 -04:00
obs: Reduce retry timing
This commit is contained in:
2
.github/workflows/run-obs.yml
vendored
2
.github/workflows/run-obs.yml
vendored
@@ -200,7 +200,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Wait before OBS upload
|
- name: Wait before OBS upload
|
||||||
run: sleep 8
|
run: sleep 3
|
||||||
|
|
||||||
- name: Determine packages to update
|
- name: Determine packages to update
|
||||||
id: packages
|
id: packages
|
||||||
|
|||||||
@@ -1071,7 +1071,6 @@ if [[ -n "$OBS_FILES" ]]; then
|
|||||||
if osc api -X DELETE "/source/$OBS_PROJECT/$PACKAGE/$old_file" 2>/dev/null; then
|
if osc api -X DELETE "/source/$OBS_PROJECT/$PACKAGE/$old_file" 2>/dev/null; then
|
||||||
((DELETED_COUNT++)) || true
|
((DELETED_COUNT++)) || true
|
||||||
fi
|
fi
|
||||||
sleep 1
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# Remove service-generated download_url artifacts so new ones are created
|
# Remove service-generated download_url artifacts so new ones are created
|
||||||
@@ -1080,7 +1079,6 @@ if [[ -n "$OBS_FILES" ]]; then
|
|||||||
if osc api -X DELETE "/source/$OBS_PROJECT/$PACKAGE/$old_file" 2>/dev/null; then
|
if osc api -X DELETE "/source/$OBS_PROJECT/$PACKAGE/$old_file" 2>/dev/null; then
|
||||||
((DELETED_COUNT++)) || true
|
((DELETED_COUNT++)) || true
|
||||||
fi
|
fi
|
||||||
sleep 1
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $DELETED_COUNT -gt 0 ]]; then
|
if [[ $DELETED_COUNT -gt 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user