Skip to content

Commit 08da074

Browse files
fix the python version grab
1 parent 7e6dbd9 commit 08da074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/regression-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
# Use grep to find the line beginning with "python"
4747
- name: Get Python version from file
4848
run: |
49-
PYTHON_VERSION=$(grep "^python\K.*" .tool-versions)
49+
PYTHON_VERSION=$(grep "^python" .tool-versions | sed 's/python //g')
5050
echo "PYTHON_VERSION=$PYTHON_VERSION" >> $GITHUB_ENV
5151
52-
- name: setup venv
52+
- name: setup python venv
5353
uses: actions/checkout@v5
5454
- uses: actions/setup-python@v6
5555
with:

0 commit comments

Comments
 (0)