Skip to content

Commit

Permalink
Fix pip install *.whl
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-CH-Leung committed Oct 21, 2024
1 parent bbea38e commit 4b67e92
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -554,16 +554,12 @@ jobs:
- name: Upload sdist
id: upload-sdist
uses: actions/upload-artifact@v3
env:
ACTIONS_RUNTIME_TOKEN: abc
with:
name: hello-world-sdist
path: ./target/hello-world/sdist/*.tar.gz
- name: Upload wheels
id: upload-wheel
uses: actions/upload-artifact@v3
env:
ACTIONS_RUNTIME_TOKEN: abc
with:
name: maturin-wheel
path: ./dist/*.whl
Expand All @@ -588,7 +584,9 @@ jobs:
name: maturin-wheel
path: ./dist/*.whl
- name: Install maturin whl
run: pip install --force-reinstall ./dist/*.whl
run: |
WHEEL_FILE=$(ls ./dist/*.whl)
pip install --force-reinstall "$WHEEL_FILE"
- name: pip install
run: |
export MATURIN_PEP517_ARGS="--verbose"
Expand Down

0 comments on commit 4b67e92

Please sign in to comment.