Skip to content

Commit

Permalink
Update actions/install-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
andeaseme committed Oct 24, 2023
1 parent b0e9c91 commit f282d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/install-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
if [[ "${{ inputs.pypi-packages }}" == "isee" && "${{ github.repository }}" == "i2mint/isee" ]]; then
echo "Installing isee from source"
python setup.py sdist
pip install $(find dist/ -iname isee-*.tar.gz)
pip install $(ls -t dist/isee-*.tar.gz 2>/dev/null | head -n 1)
isee_installed=true
else
python -m pip install --upgrade pip wheel
Expand Down Expand Up @@ -75,7 +75,7 @@ runs:
if [ "${{ github.repository }}" == "i2mint/isee" ]; then
echo "Installing isee from source"
python setup.py sdist
pip install $(find dist/ -iname isee-*.tar.gz)
pip install $(ls -t dist/isee-*.tar.gz 2>/dev/null | head -n 1)
else
echo "Installing isee from pip"
pip -q install isee
Expand Down

0 comments on commit f282d11

Please sign in to comment.