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:
+5
-5
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user