Skip to content

Commit

Permalink
github-actions: Install latest pip and wheel when testing new depende…
Browse files Browse the repository at this point in the history
…ncies (#2444)

Signed-off-by: Jan Vesely <[email protected]>
  • Loading branch information
jvesely authored Jul 20, 2022
1 parent 21936e1 commit f26a21e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/install-pnl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ runs:
shell: bash
id: new_package
run: |
python -m pip install --upgrade pip wheel
export NEW_PACKAGE=`echo '${{ github.head_ref }}' | cut -f 4 -d/ | sed 's/-gt.*//' | sed 's/-lt.*//'`
echo "::set-output name=new_package::$NEW_PACKAGE"
pip install "`echo $NEW_PACKAGE | sed 's/[-_]/./g' | xargs grep *requirements.txt -h -e | head -n1`"
Expand Down

0 comments on commit f26a21e

Please sign in to comment.