From f26a21ed53bfd57a414ff5524954c5e0b10c8f1d Mon Sep 17 00:00:00 2001 From: Jan Vesely Date: Wed, 20 Jul 2022 16:41:46 -0400 Subject: [PATCH] github-actions: Install latest pip and wheel when testing new dependencies (#2444) Signed-off-by: Jan Vesely --- .github/actions/install-pnl/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/install-pnl/action.yml b/.github/actions/install-pnl/action.yml index 6e679620ad5..cd4dca7dbe9 100644 --- a/.github/actions/install-pnl/action.yml +++ b/.github/actions/install-pnl/action.yml @@ -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`"