diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d539746..9dd455c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,8 +15,8 @@ jobs: macos: runs-on: macos-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' architecture: x64 @@ -31,7 +31,7 @@ jobs: pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall pytest - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -47,8 +47,8 @@ jobs: - target: x86 interpreter: 3.8 3.9 3.10 3.11 3.12 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' architecture: ${{ matrix.platform.target }} @@ -64,7 +64,7 @@ jobs: pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall pytest - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -75,8 +75,8 @@ jobs: matrix: target: [x86_64, i686] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' architecture: x64 @@ -100,7 +100,7 @@ jobs: pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall pytest - name: Upload wheels - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -111,8 +111,8 @@ jobs: matrix: target: [aarch64, armv7, s390x, ppc64le] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Build wheels @@ -139,7 +139,7 @@ jobs: pytest - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist @@ -154,10 +154,10 @@ jobs: - linux-cross if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: wheels - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 - name: Publish to PyPI env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}