Skip to content

Commit

Permalink
ci: fix target dir for fury upload (#2306)
Browse files Browse the repository at this point in the history
My local target dir is different from the one in CI.
  • Loading branch information
wjones127 authored May 6, 2024
1 parent c53ecbc commit 89b65b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/upload_wheel/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ runs:
PYPI_TOKEN: ${{ inputs.pypi_token }}
run: |
if [ ${{ inputs.repo }} == "fury" ]; then
WHEEL=$(ls target_pyo3/wheels/pylance-*.whl 2> /dev/null | head -n 1)
curl -F package=@$WHEEL https://[email protected]/lancedb/
WHEEL=$(ls target/wheels/pylance-*.whl 2> /dev/null | head -n 1)
echo "Uploading $WHEEL to Fury"
curl -f -F package=@$WHEEL https://[email protected]/lancedb/
else
twine upload --repository ${{ inputs.repo }} \
--username __token__ \
Expand Down

0 comments on commit 89b65b7

Please sign in to comment.