We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5523af3 + 7ec9682 commit 1afdbf9Copy full SHA for 1afdbf9
1 file changed
.github/workflows/ci.yml
@@ -163,6 +163,10 @@ jobs:
163
with:
164
password: ${{ secrets.PYPI_API_TOKEN }}
165
verify-metadata: false
166
+ # 当 PR 多次 push 或并发 CI 跑出相同版本号时,跳过已存在版本而非报错。
167
+ # 根因是版本号自增逻辑依赖 PyPI API 拉取最新版本,存在缓存/并发窗口。
168
+ # 不阻塞 PR 合入即可,长期方案是在版本号中嵌入 commit SHA 实现唯一化。
169
+ skip-existing: true
170
171
- name: Create and push tag
172
if: steps.changes.outputs.agentrun_changed == 'true'
0 commit comments