Skip to content

Commit

Permalink
dont wait for pypi in release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Sep 4, 2024
1 parent cbfc460 commit acbc8b2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
pypi-publish:
name: Publish release to PyPI (stable releases only)
runs-on: ubuntu-latest
if: ${{ !github.event.release.prerelease }}
needs: build-artifact
steps:
- name: Retrieve release distributions
Expand All @@ -75,12 +74,11 @@ jobs:
name: release-dists
path: dist/
- name: Publish release to PyPI
if: ${{ github.event.release.prerelease == false }}
uses: pypa/gh-action-pypi-publish@v1.10.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
- name: Wait for PyPI
run: sleep 300

build-and-push-container-image:
name: Builds and pushes the Music Assistant Server container to ghcr.io
Expand Down Expand Up @@ -156,12 +154,10 @@ jobs:
addon-version-update:
name: Updates the Addon repository with the new version
needs:
[
build-artifact,
pypi-publish,
build-and-push-container-image,
release-notes-update,
]
- build-artifact
- pypi-publish
- build-and-push-container-image
- release-notes-update
runs-on: ubuntu-latest
steps:
- name: Push new version number to addon config
Expand Down

0 comments on commit acbc8b2

Please sign in to comment.