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 197a843 commit 085968bCopy full SHA for 085968b
.github/workflows/release.yml
@@ -0,0 +1,19 @@
1
+# based on https://github.com/carderne/postmodern-python/blob/main/.github/workflows/release.yml
2
+
3
+name: release
4
+on:
5
+ release:
6
+ types: [published]
7
+jobs:
8
+ publish:
9
+ environment: release # needed for PyPI OIDC
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ id-token: write
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-python@v5
16
+ with:
17
+ python-version: "3.12"
18
+ - run: pip install build && python -m build # build
19
+ - uses: pypa/gh-action-pypi-publish@release/v1 # publish
0 commit comments