File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
tags :
6
6
- " v*"
7
-
8
7
jobs :
9
8
build-n-publish :
10
9
name : Build and publish Xvec to PyPI
@@ -14,17 +13,18 @@ jobs:
14
13
- uses : actions/checkout@v4
15
14
16
15
- name : Set up Python
17
- uses : actions/setup-python@v4
16
+ uses : actions/setup-python@v5
18
17
with :
19
18
python-version : " 3.x"
20
19
21
- - name : Build a binary wheel and a source tarball
20
+ - name : Build source and wheel distributions
22
21
run : |
23
- python -m pip install --upgrade build
22
+ python -m pip install --upgrade build twine
24
23
python -m build
24
+ twine check --strict dist/*
25
25
26
26
- name : Publish distribution to PyPI
27
- uses : pypa/gh-action-pypi-publish@v1
27
+ uses : pypa/gh-action-pypi-publish@release/ v1
28
28
with :
29
29
user : __token__
30
30
password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments