diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index b3d7fba..142fef2 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -45,7 +45,7 @@ jobs: pytest --doctest-modules -o junit_family=xunit2 --junitxml=junit/test-results-${{ matrix.python-version }}.xml - name: Upload pytest test results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results-${{ matrix.python-version }} path: junit/test-results-${{ matrix.python-version }}.xml @@ -96,9 +96,9 @@ jobs: CIBW_SKIP: "pp* *-musllinux*" CIBW_ARCHS_MACOS: ${{ matrix.buildplat[2] }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }} path: ./wheelhouse/*.whl upload: @@ -108,9 +108,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* + merge-multiple: true path: dist - name: Display structure of downloaded files @@ -119,6 +120,6 @@ jobs: - uses: pypa/gh-action-pypi-publish@release/v1 if: startsWith(github.ref, 'refs/tags/') with: - skip_existing: true + skip-existing: true user: ${{ secrets.PYPI_USERNAME }} password: ${{ secrets.PYPI_PASSWORD }}