Skip to content

Commit cf77d94

Browse files
fix(ci): add local PyPI publish step (#6)
PyPI doesn't support reusable workflows for trusted publishing. Build stays in org workflow, publish must be local. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent da00cc2 commit cf77d94

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/release-python.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,23 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
release:
16+
build:
1717
uses: dkdc-io/.github/.github/workflows/release-python.yml@v1
1818
permissions:
1919
contents: read
20+
21+
publish:
22+
name: Publish to PyPI
23+
needs: build
24+
runs-on: ubuntu-latest
25+
environment: pypi
26+
permissions:
2027
id-token: write
28+
steps:
29+
- uses: actions/download-artifact@v4
30+
with:
31+
path: dist
32+
merge-multiple: true
33+
- uses: pypa/gh-action-pypi-publish@release/v1
34+
with:
35+
packages-dir: dist/

0 commit comments

Comments
 (0)