File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,26 @@ jobs:
1414 runs-on : ubuntu-latest
1515
1616 steps :
17- - uses : actions/checkout@master
17+ - uses : actions/checkout@v4
1818
19- - name : Set up Python 3.11
20- uses : actions/setup-python@v2
19+ - name : Set up Python 3.12
20+ uses : actions/setup-python@v4
2121 with :
22- python-version : 3.11
22+ python-version : ' 3.12 '
2323
2424 - name : Install pypa/build
25- run : |
26- cd Python
25+ run : >-
2726 python -m pip install build --user
28- cd ..
27+
2928
3029 - name : Build a binary wheel and a source tarball
31- run : |
32- cd Python
33- python -m build --sdist --wheel --outdir ../dist/ .
34- cd ..
30+ run : >-
31+ python -m
32+ build
33+ --sdist
34+ --wheel
35+ --outdir dist/
36+ .
3537
3638 # - name: Publish distribution 📦 to Test PyPI
3739 # uses: pypa/gh-action-pypi-publish@master
4244
4345 - name : Publish distribution 📦 to PyPI
4446 if : startsWith(github.ref, 'refs/tags')
45- uses : pypa/gh-action-pypi-publish@master
47+ uses : pypa/gh-action-pypi-publish@release/v1
4648 with :
4749 skip_existing : true
4850 password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments