We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5528b8e commit 12b2c63Copy full SHA for 12b2c63
.github/workflows/release.yml
@@ -0,0 +1,28 @@
1
+on:
2
+ release:
3
+ types:
4
+ - published
5
+
6
+name: release
7
8
+jobs:
9
+ pypi-publish:
10
+ name: Upload release to PyPI
11
+ runs-on: ubuntu-latest
12
+ environment:
13
+ name: pypi
14
+ url: https://pypi.org/p/pymispwarninglists
15
+ permissions:
16
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
+ - name: Install Poetry
22
+ run: python -m pip install --upgrade pip poetry
23
+ - name: Update the submodules
24
+ run: git submodule update --init --recursive
25
+ - name: Build artifacts
26
+ run: poetry build
27
+ - name: Publish package distributions to PyPI
28
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments