We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5827c71 commit 1422f35Copy full SHA for 1422f35
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,26 @@
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/pypdns
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: Build artifacts
24
+ run: poetry build
25
+ - name: Publish package distributions to PyPI
26
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments