Skip to content

Commit dabc967

Browse files
committed
feat: prepare pypi trusted publishing
1 parent 52a4739 commit dabc967

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121

2222
- name: Build wheel and sdist
2323
run: |
24-
python -m pip install --upgrade pip build
24+
python -m pip install --upgrade pip build twine
2525
python -m build
26+
python -m twine check dist/*
2627
2728
- name: Upload distribution artifacts
2829
uses: actions/upload-artifact@v4
@@ -34,6 +35,9 @@ jobs:
3435
needs: build
3536
runs-on: ubuntu-latest
3637
if: startsWith(github.ref, 'refs/tags/v')
38+
environment:
39+
name: pypi
40+
url: https://pypi.org/project/shellbrain/
3741
permissions:
3842
id-token: write
3943

0 commit comments

Comments
 (0)