Update to latest GitHub Action versions

checkout@v2 -> v3
  upload/download-artifact@v2 -> v3
  python-setup@v2 -> v3
  pypa/gh-action-pypi-publish@1.4.2 -> v1.5.0

Python latest is v4, but it breaks working with default Python version
https://github.com/actions/setup-python/issues/421
This commit is contained in:
Anatoli Babenia
2022-06-18 15:09:36 +03:00
parent cc56a140d2
commit 52945e1668
7 changed files with 25 additions and 25 deletions
+5 -5
View File
@@ -180,12 +180,12 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
os: [ubuntu-20.04, windows-2019, macos-10.15]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build wheels
run: pipx run cibuildwheel==2.7.0
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
```
@@ -212,10 +212,10 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
os: [ubuntu-20.04, windows-2019, macos-10.15]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Used to host cibuildwheel
- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.7.0
@@ -223,7 +223,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
```