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:
1414 runs-on : ubuntu-latest
1515
1616 steps :
17- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1818 - run : git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'
1919 if : github.event_name == 'push'
2020 continue-on-error : true
2121 - name : Set up Python
22- uses : actions/setup-python@v4
22+ uses : actions/setup-python@v5
2323 with :
2424 python-version : ' 3.12'
2525 - name : Install dependencies
@@ -40,15 +40,11 @@ jobs:
4040 run : pytest -vs -k community
4141 - name : Build package
4242 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
4845 with :
49- user : __token__
50- password : ${{ env.PYPI_API_TOKEN }}
51- - uses : actions/checkout@v3
46+ packages-dir : dist/
47+ - uses : actions/checkout@v4
5248 if : github.event_name == 'release'
5349 with :
5450 ref : main
You can’t perform that action at this time.
0 commit comments