Skip to content

Commit 8010121

Browse files
committed
sleep on publish only
1 parent 09f9a0d commit 8010121

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -299,18 +299,17 @@ jobs:
299299
pushd "$1" >/dev/null
300300
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
301301
dart pub publish --force
302+
sleep $2
302303
else
303304
dart pub get
304305
dart analyze
305306
fi
306307
popd >/dev/null
307308
}
308309
309-
publish_pkg src/serious_python_platform_interface
310-
sleep 600
311-
publish_pkg src/serious_python_android
312-
publish_pkg src/serious_python_darwin
313-
publish_pkg src/serious_python_windows
314-
publish_pkg src/serious_python_linux
315-
sleep 600
316-
publish_pkg src/serious_python
310+
publish_pkg src/serious_python_platform_interface 600
311+
publish_pkg src/serious_python_android 0
312+
publish_pkg src/serious_python_darwin 0
313+
publish_pkg src/serious_python_windows 0
314+
publish_pkg src/serious_python_linux 600
315+
publish_pkg src/serious_python 0

0 commit comments

Comments
 (0)