From 475fd574b8fd7a1e5b10f79915091939a5e6dad6 Mon Sep 17 00:00:00 2001 From: kodonnell Date: Thu, 18 Apr 2024 20:43:42 +1200 Subject: [PATCH] fix (?) action --- .github/workflows/wheels.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index de7ddc2..295c39b 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -15,15 +15,15 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Optional, use if you use setuptools_scm https://stackoverflow.com/a/68959339 submodules: true # Optional, use if you have submodules - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - name: Set up Python 3.9 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install pypa/build run: pip install build @@ -31,7 +31,7 @@ jobs: - name: Build sdist *and* wheel (even though we ignore it) to check we can confirm wheels from source. run: USE_CYTHON=1 python -m build - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz @@ -41,15 +41,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-20.04, windows-2019, macos-12] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Optional, use if you use setuptools_scm https://stackoverflow.com/a/68959339 submodules: true # Optional, use if you have submodules - name: Build wheels - uses: pypa/cibuildwheel@v2.16.2 - - uses: actions/upload-artifact@v2 + uses: pypa/cibuildwheel@v2.17.0 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl @@ -58,13 +58,13 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: artifact path: dist - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2.0.4 with: files: dist/* @@ -73,16 +73,16 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.4.2 + - uses: pypa/gh-action-pypi-publish@v1.8.14 with: user: __token__ password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ - - uses: pypa/gh-action-pypi-publish@v1.4.2 + - uses: pypa/gh-action-pypi-publish@v1.8.14 with: user: __token__ password: ${{ secrets.pypi_password }}