Skip to content

Commit 8570486

Browse files
authored
Create action.yml
1 parent 2c2678a commit 8570486

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name : Publish to PyPI (using twine)
2+
description: 'Publish to PyPI'
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: Set up Python
8+
uses: actions/setup-python@v5
9+
with:
10+
python-version: "3.12"
11+
12+
- name: Install build and twine
13+
shell: bash
14+
run: |
15+
python -m pip install --upgrade pip
16+
pip install build twine
17+
18+
- name: Build the package
19+
shell: bash
20+
run: |
21+
python -m build
22+
23+
- name: Publish distribution 📦 to PyPI
24+
uses: pypa/gh-action-pypi-publish

0 commit comments

Comments
 (0)