We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698c40a commit 1a77115Copy full SHA for 1a77115
.github/workflows/python.yml
@@ -92,3 +92,30 @@ jobs:
92
- uses: actions/setup-python@v5
93
with: { python-version: "${{ matrix.python-version }}" }
94
- run: slap test
95
+
96
+ publish:
97
+ runs-on: ubuntu-latest
98
+ needs: test
99
+ environment: release
100
+ permissions:
101
+ id-token: write
102
+ if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
103
104
+ steps:
105
+ - uses: actions/checkout@v4
106
107
+ - name: Set up Python 3.10
108
+ uses: actions/setup-python@v5
109
+ with:
110
+ python-version: "3.10"
111
112
+ - name: Install uv
113
+ run: python -m pip install uv
114
115
+ - name: Build dist
116
+ run: uv build
117
118
+ - name: Publish
119
+ uses: pypa/gh-action-pypi-publish@release/v1
120
121
+ packages-dir: dist/
0 commit comments