Skip to content

Commit 651e7e2

Browse files
jamesbrinkclaude
andcommitted
fix(ci): ensure publish job runs on tag pushes
- Add always() condition to publish job to ensure it runs - Check test job result explicitly before publishing - This fixes the issue where publish was skipped due to complex dependencies 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 50d8721 commit 651e7e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,11 @@ jobs:
178178
# PyPI publishing - only on version tags
179179
publish:
180180
name: Publish to PyPI
181-
if: startsWith(github.ref, 'refs/tags/v')
182181
needs: [test]
182+
if: |
183+
always() &&
184+
needs.test.result == 'success' &&
185+
startsWith(github.ref, 'refs/tags/v')
183186
runs-on: ubuntu-latest
184187
environment:
185188
name: pypi

0 commit comments

Comments
 (0)