Update release.yml
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 12 Mar 2024 19:45:52 +0000 (20:45 +0100)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2024 19:45:52 +0000 (20:45 +0100)
.github/workflows/release.yml

index 61a3b309d1e7c9e6b25a0d635846fd917d39fd5c..a7d91a6263853e445494f6efae399955f2621299 100644 (file)
@@ -15,10 +15,10 @@ jobs:
       - name: Get tag
         id: vars
         run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
-      - name: Set up Python 3.10
+      - name: Set up Python 3.11
         uses: actions/setup-python@v5.0.0
         with:
-          python-version: "3.10"
+          python-version: "3.11"
       - name: Install build
         run: >-
           pip install build tomli tomli-w
@@ -44,7 +44,7 @@ jobs:
           user: __token__
           password: ${{ secrets.PYPI_TOKEN }}
       - name: Wait for PyPI
-        run: sleep 120
+        run: sleep 300
 
   build-and-push-container-image:
     name: Builds and pushes the Music Assistant Server container to ghcr.io
@@ -53,9 +53,6 @@ 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@v4
       - name: Log in to the GitHub container registry
         uses: docker/login-action@v3.0.0