add sleep in workflow
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 10 Jul 2023 22:20:01 +0000 (00:20 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Mon, 10 Jul 2023 22:20:01 +0000 (00:20 +0200)
.github/workflows/release.yml

index 028457f9a27922d8803e0d8dec3282eabee992f2..3d446530e8fab4c7a9c28d7b223eb4de661a12ed 100644 (file)
@@ -51,6 +51,9 @@ jobs:
       packages: write
     needs: build-and-publish-pypi
     steps:
+      - name: Sleep for 60 seconds (to prevent race condition with the pypi upload)
+        run: sleep 60s
+        shell: bash
       - uses: actions/checkout@v3.5.3
       - name: Log in to the GitHub container registry
         uses: docker/login-action@v2.2.0