Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix(ci): make nightly publish idempotent and serialized
Greyson LaLondec67f6f63dcf7
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.ymlindex 4e9b0c69e..d5879c8e3 100644--- a/.github/workflows/nightly.yml+++ b/.github/workflows/nightly.yml@@ -5,6 +5,10 @@ on:- cron: '0 6 * * *' # daily at 6am UTCworkflow_dispatch:+concurrency:+ group: nightly-publish+ cancel-in-progress: false+jobs:check:name: Check for new commits@@ -94,13 +98,10 @@ jobs:runs-on: ubuntu-latestenvironment:name: pypi- url: https://pypi.org/p/crewaipermissions:id-token: writecontents: readsteps:- - uses: actions/checkout@v4-- name: Install uvuses: astral-sh/setup-uv@v6with:@@ -125,7 +126,8 @@ jobs:continuefiecho "Publishing $package"- if ! uv publish "$package"; then+ # --check-url skips files already on PyPI so manual re-runs on the same day are idempotent.+ if ! uv publish --check-url https://pypi.org/simple/ "$package"; thenecho "Failed to publish $package"failed=1fi