1616 runs-on : ubuntu-latest
1717 name : Python sdist/wheel
1818 steps :
19- - uses : actions/checkout@v3
20- - uses : actions/setup-python@v4
19+ - uses : actions/checkout@v4
20+ - uses : actions/setup-python@v5
2121 with :
2222 python-version : " 3.10"
2323 - name : Install dependencies
2727
2828 - name : Build package
2929 run : python -m build -o dist/
30- - uses : actions/upload-artifact@v3
30+ - uses : actions/upload-artifact@v4
3131 with :
3232 name : dist
3333 path : dist
3838 strategy :
3939 matrix :
4040 # todo: extract from source
41- python-version : [3.7, 3. 8, 3.9, "3.10", "3.11-dev "]
41+ python-version : [3.8, 3.9, "3.10", "3.11", "3.12 "]
4242 install-from : ["dist/*.whl"]
4343 include :
4444 - python-version : " 3.10"
@@ -48,17 +48,17 @@ jobs:
4848 - python-version : " 3.10"
4949 install-from : " dist/*.tar.gz"
5050 steps :
51- - uses : actions/checkout@v3
51+ - uses : actions/checkout@v4
5252 - name : Set up Python ${{ matrix.python-version }}
53- uses : actions/setup-python@v4
53+ uses : actions/setup-python@v5
5454 with :
5555 python-version : ${{ matrix.python-version }}
5656 - name : Install dependencies
5757 run : |
5858 python -m pip install --upgrade pip
5959 pip install -U setuptools setuptools_scm
6060 pip install pytest
61- - uses : actions/download-artifact@v3
61+ - uses : actions/download-artifact@v4
6262 with :
6363 name : dist
6464 path : dist
@@ -72,10 +72,10 @@ jobs:
7272 runs-on : ubuntu-latest
7373 needs : [dist]
7474 steps :
75- - uses : actions/setup-python@v4
75+ - uses : actions/setup-python@v5
7676 with :
7777 python-version : " 3.10"
78- - uses : actions/download-artifact@v3
78+ - uses : actions/download-artifact@v4
7979 with :
8080 name : dist
8181 path : dist
@@ -87,12 +87,12 @@ jobs:
8787 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
8888 needs : [dist_check, test]
8989 steps :
90- - uses : actions/download-artifact@v3
90+ - uses : actions/download-artifact@v4
9191 with :
9292 name : dist
9393 path : dist
9494 - name : Publish package to PyPI
95- uses : pypa/gh-action-pypi-publish@master
95+ uses : pypa/gh-action-pypi-publish@release/v1
9696 with :
9797 user : __token__
9898 password : ${{ secrets.pypi_token }}
0 commit comments