From bdd27834bab78565e97eb94f1c47d2ca29c118bf Mon Sep 17 00:00:00 2001 From: deedy5 <65482418+deedy5@users.noreply.github.com> Date: Tue, 2 Apr 2024 01:02:43 +0300 Subject: [PATCH] update actions/[upload|download]-artifact@v3 to v4 --- .github/workflows/build-and-test.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index d586e7ca..7fac5a35 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 }} + path: ./wheelhouse/ 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: ./wheelhouse/ + merge-multiple: true - uses: pypa/gh-action-pypi-publish@v1.8.14 if: startsWith(github.ref, 'refs/tags/')