File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
17
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v4
18
18
- run : git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'
19
19
if : github.event_name == 'push'
20
20
continue-on-error : true
21
21
- name : Set up Python
22
- uses : actions/setup-python@v4
22
+ uses : actions/setup-python@v5
23
23
with :
24
24
python-version : ' 3.12'
25
25
- name : Install dependencies
@@ -40,15 +40,11 @@ jobs:
40
40
run : pytest -vs -k community
41
41
- name : Build package
42
42
run : python -m build
43
- - name : Publish package
44
- env :
45
- PYPI_API_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
46
- if : ${{ env.PYPI_API_TOKEN != '' }}
47
- uses : pypa/gh-action-pypi-publish@release/v1.5
43
+ - name : Publish release distributions to PyPI
44
+ uses : pypa/gh-action-pypi-publish@release/v1
48
45
with :
49
- user : __token__
50
- password : ${{ env.PYPI_API_TOKEN }}
51
- - uses : actions/checkout@v3
46
+ packages-dir : dist/
47
+ - uses : actions/checkout@v4
52
48
if : github.event_name == 'release'
53
49
with :
54
50
ref : main
You can’t perform that action at this time.
0 commit comments