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

Commit

Permalink
github: update action versions
Browse files Browse the repository at this point in the history
Fixes deprecation warnings about node v12.

Also drop rc from Python 3.11.
  • Loading branch information
dlech committed Apr 2, 2023
1 parent 9518715 commit 2831ccb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
sdist:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: python -m pip install build
- run: python -m build --sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: sdist_${{ github.run_id }}
path: dist/
Expand All @@ -20,12 +20,12 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11.0-rc.1']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
architecture: ['x86', 'x64']
name: Python ${{ matrix.python-version }} ${{ matrix.architecture }} bdist
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
Expand All @@ -35,7 +35,7 @@ jobs:
Import-Module "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
Enter-VsDevShell -VsInstallPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" -DevCmdArguments '-arch=${{ matrix.architecture }}'
python -m build --wheel
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: bdist_${{ matrix.python-version }}_${{ matrix.architecture }}_${{ github.run_id }}
path: dist/
Expand All @@ -44,7 +44,7 @@ jobs:
needs: [sdist, bdist]
runs-on: ubuntu-20.04
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
path: artifacts
- run: |
Expand Down

0 comments on commit 2831ccb

Please sign in to comment.