diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index d586e7ca..c37aab5b 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -74,19 +74,20 @@ jobs: # - name: Setup tmate session # uses: mxschmitt/action-tmate@v3 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - path: ./wheelhouse/*.whl + name: my-artifact-${{ matrix.runs-on }}-${{ matrix.python-version }} + path: ./dist/ upload_all: needs: [bdist, sdist] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: startsWith(github.ref, 'refs/tags/') with: - name: artifact - path: dist + path: ./dist/ + merge-multiple: true - uses: pypa/gh-action-pypi-publish@v1.8.14 if: startsWith(github.ref, 'refs/tags/')