Skip to content

Commit 96b6405

Browse files
authored
Refine GH Action definition
* Do not use explicit references to Python version and project name in descriptions * Use Python 3.8 as a base * Use only plain ASCII Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 5351f0b commit 96b6405

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pypi-release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: Release uinvers on PyPI
1+
name: Release library as a PyPI wheel and sdist on tag
22

33
on:
44
release:
55
types: [created]
66

77
jobs:
88
build-n-publish:
9-
name: Build and publish univers to PyPI
9+
name: Build and publish library to PyPI
1010
runs-on: ubuntu-20.04
1111

1212
steps:
1313
- uses: actions/checkout@master
14-
- name: Set up Python 3.6
14+
- name: Set up Python
1515
uses: actions/setup-python@v1
1616
with:
17-
python-version: 3.6
17+
python-version: 3.8
1818
- name: Install pypa/build
1919
run: >-
2020
python -m
@@ -29,8 +29,9 @@ steps:
2929
--wheel
3030
--outdir dist/
3131
.
32-
- name: Publish distribution 📦 to PyPI
32+
- name: Publish distribution to PyPI
3333
if: startsWith(github.ref, 'refs/tags')
3434
uses: pypa/gh-action-pypi-publish@master
3535
with:
36-
password: ${{ secrets.PYPI_API_TOKEN }}
36+
password: ${{ secrets.PYPI_API_TOKEN }}
37+

0 commit comments

Comments
 (0)