Skip to content

Commit 80cdf53

Browse files
authored
Merge pull request #11 from dmgav/pypi-publish
Add 'publish-pypi' workflow
2 parents 85525d4 + aae73d4 commit 80cdf53

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [created]
6+
branches:
7+
- main
8+
9+
jobs:
10+
upload:
11+
runs-on: ubuntu-latest
12+
environment: release
13+
14+
steps:
15+
- name: Download dist artifact
16+
uses: actions/download-artifact@v4
17+
with:
18+
name: dist
19+
path: dist
20+
21+
- name: Publish to PyPI using trusted publishing
22+
uses: pypa/gh-action-pypi-publish@release/v1
23+
with:
24+
attestations: false

0 commit comments

Comments
 (0)