Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 2831ccb

Browse files
committed
github: update action versions
Fixes deprecation warnings about node v12. Also drop rc from Python 3.11.
1 parent 9518715 commit 2831ccb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/publish.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
sdist:
99
runs-on: windows-2019
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- run: python -m pip install build
1313
- run: python -m build --sdist
14-
- uses: actions/upload-artifact@v2
14+
- uses: actions/upload-artifact@v3
1515
with:
1616
name: sdist_${{ github.run_id }}
1717
path: dist/
@@ -20,12 +20,12 @@ jobs:
2020
runs-on: windows-2019
2121
strategy:
2222
matrix:
23-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0-rc.1']
23+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
2424
architecture: ['x86', 'x64']
2525
name: Python ${{ matrix.python-version }} ${{ matrix.architecture }} bdist
2626
steps:
27-
- uses: actions/checkout@v2
28-
- uses: actions/setup-python@v2
27+
- uses: actions/checkout@v3
28+
- uses: actions/setup-python@v4
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
architecture: ${{ matrix.architecture }}
@@ -35,7 +35,7 @@ jobs:
3535
Import-Module "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
3636
Enter-VsDevShell -VsInstallPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" -DevCmdArguments '-arch=${{ matrix.architecture }}'
3737
python -m build --wheel
38-
- uses: actions/upload-artifact@v2
38+
- uses: actions/upload-artifact@v3
3939
with:
4040
name: bdist_${{ matrix.python-version }}_${{ matrix.architecture }}_${{ github.run_id }}
4141
path: dist/
@@ -44,7 +44,7 @@ jobs:
4444
needs: [sdist, bdist]
4545
runs-on: ubuntu-20.04
4646
steps:
47-
- uses: actions/download-artifact@v2
47+
- uses: actions/download-artifact@v3
4848
with:
4949
path: artifacts
5050
- run: |

0 commit comments

Comments
 (0)