Skip to content

Commit 03d8221

Browse files
authored
Build and publish (#6)
* 🔧 - Update classifiers * 💚 - Fix CD * 💚 - Use wheel on CI
1 parent 96b05af commit 03d8221

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: CD
22

33
on:
4-
# push:
5-
# branches: [ master ]
6-
# tags: [ '*' ]
7-
84
push:
95
branches: [ master ]
10-
pull_request:
6+
tags: [ '*' ]
117

128
jobs:
139
CD:
@@ -31,8 +27,8 @@ jobs:
3127
--sdist
3228
--wheel
3329
--outdir dist/
34-
- name: Publish distribution 📦 to Test PyPI
30+
- name: Publish a Python distribution to PyPI
3531
uses: pypa/gh-action-pypi-publish@release/v1
3632
with:
37-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
38-
repository_url: https://test.pypi.org/legacy/
33+
user: __token__
34+
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
python-version: ${{ matrix.python_ver }}
2323
- name: Install dependencies
2424
run: |
25-
python -m pip install --upgrade poetry
25+
python -m pip install --upgrade poetry wheel
2626
poetry install --remove-untracked
2727
- name: Lint with flake8
2828
run: |

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ classifiers = [
2020
"Programming Language :: Python :: 3.8",
2121
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: Implementation",
24+
"Programming Language :: Python :: Implementation :: CPython",
25+
"Programming Language :: Python :: Implementation :: PyPy",
2326
"Topic :: Software Development :: Libraries :: Python Modules",
2427
"Topic :: Software Development :: Quality Assurance",
2528
]

0 commit comments

Comments
 (0)