From fdfca745183ba7a4adda1b56c0e2887bd8c86e10 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 08:53:39 +0100 Subject: [PATCH] ci: Bump actions/upload-artifact from 3 to 4 (#47) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Stijn de Gooijer --- .github/workflows/release.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95255d6..be46e62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,9 +82,9 @@ jobs: python -m polars-cli --version - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: dist-sdist path: dist/*.tar.gz build-wheels: @@ -161,9 +161,9 @@ jobs: python -m polars-cli --version - name: Upload wheel - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }} path: dist/*.whl - name: Archive binary @@ -175,9 +175,9 @@ jobs: echo "filename=$ARCHIVE_FILENAME" >> $GITHUB_OUTPUT - name: Upload binary - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: binaries + name: binary-${{ matrix.os }}-${{ matrix.arch }} path: ${{ steps.archive.outputs.filename }} publish-to-pypi: @@ -190,11 +190,12 @@ jobs: id-token: write steps: - - name: Download wheels - uses: actions/download-artifact@v3 + - name: Download sdist and wheels + uses: actions/download-artifact@v4 with: - name: wheels + pattern: dist-* path: dist + merge-multiple: true - name: Publish to PyPI if: inputs.dry-run == false @@ -232,10 +233,11 @@ jobs: ref: ${{ inputs.sha }} - name: Download binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: binaries + pattern: binary-* path: binaries + merge-multiple: true - name: Create GitHub release id: github-release