We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f287ebc commit dadf4b1Copy full SHA for dadf4b1
.github/workflows/release.yml
@@ -0,0 +1,36 @@
1
+name: Bump version and publish
2
+
3
+on:
4
+ workflow_dispatch
5
6
+jobs:
7
+ tag:
8
+ permissions:
9
+ contents: write
10
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Generate Tag
15
+ uses: cvxgrp/.github/actions/tag@v2.2.8
16
+ with:
17
+ github_token: ${{ secrets.GITHUB_TOKEN }}
18
19
+ publish:
20
+ needs: tag
21
22
+ environment: release
23
24
25
+ contents: read
26
+ # This permission is required for trusted publishing.
27
+ id-token: write
28
29
30
+ - uses: actions/download-artifact@v4
31
32
+ name: dist
33
+ path: dist
34
35
+ - name: Publish to PyPI
36
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments