Skip to content

Commit

Permalink
ci: Bump actions/upload-artifact from 3 to 4 (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stijn de Gooijer <[email protected]>
  • Loading branch information
dependabot[bot] and stinodego authored Jan 4, 2024
1 parent 4c94381 commit fdfca74
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fdfca74

Please sign in to comment.