From 7822b17158f3e20a0e48f8d4f6d90badf0b4d80d Mon Sep 17 00:00:00 2001 From: deedy5 <65482418+deedy5@users.noreply.github.com> Date: Tue, 2 Apr 2024 01:12:52 +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..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/')