Skip to content

Commit

Permalink
Fix CI Aer install (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
manoelmarques committed Dec 7, 2022
1 parent 64f4344 commit 72f947d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/install-main-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ runs:
if [ "$cache_hit" == "true" ]; then
pip_result=0
pushd "${BASE_DIR}"
python -m pip install --upgrade --force-reinstall *.whl && pip_result=$? || pip_result=$?
python -m pip install *.whl && pip_result=$? || pip_result=$?
popd
if [ $pip_result == 0 ]; then
echo 'Verifying cached Aer with tools/verify_wheels.py ...'
Expand All @@ -117,6 +117,7 @@ runs:
build_from_main=false
else
echo 'Cached Aer failed verification.'
pip uninstall -y qiskit-aer
fi
fi
else
Expand All @@ -137,7 +138,7 @@ runs:
popd
cp -rf /tmp/qiskit-aer/dist/*.whl "${BASE_DIR}"
pushd "${BASE_DIR}"
python -m pip install --upgrade --force-reinstall *.whl
python -m pip install *.whl
popd
fi
shell: bash

0 comments on commit 72f947d

Please sign in to comment.