Skip to content

Commit

Permalink
Fixed regression caused by new version of download-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
rickardp committed Jan 31, 2024
1 parent 816eee0 commit 56748ca
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
mkdir -p output/${{ matrix.os }}/${{ matrix.arch }}
( shopt -s nullglob && cp bitsandbytes/*.{so,dylib,dll} output/${{ matrix.os }}/${{ matrix.arch }}/ )
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: shared_library_${{ matrix.os }}_${{ matrix.arch }}
path: output/*
Expand Down Expand Up @@ -159,11 +159,14 @@ jobs:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: "shared_library_*_${{ matrix.os }}_${{ matrix.arch }}"
path: output/
- name: Copy correct platform shared library
shell: bash
run: |
cp output/${{ matrix.os }}/${{ matrix.arch }}/* bitsandbytes/
ls -lR output/
cp output/* bitsandbytes/
# Set up the Python version needed
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -199,6 +202,8 @@ jobs:
uses: actions/download-artifact@v4
with:
path: dist/
merge-multiple: true
pattern: "bdist_wheel_*"
- run: |
ls -lR dist/
- name: Publish to PyPi
Expand Down

0 comments on commit 56748ca

Please sign in to comment.