From 4237ed82963c9365fbff27b0c6c7b4a99c39ee04 Mon Sep 17 00:00:00 2001 From: Agrendalath Date: Wed, 17 Apr 2024 15:59:00 +0200 Subject: [PATCH] fixup! feat: add Python 3.11 support --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68f051f4..83da6599 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: id: extract-python run: | if [[ "${{ matrix.toxenv }}" =~ py[0-9]+ ]]; then - PYTHON_VERSION=$(echo "${{ matrix.toxenv }}" | grep -o 'py[0-9]\+' | sed 's/py/3./') + PYTHON_VERSION=$(echo "${{ matrix.toxenv }}" | sed -E 's/py([0-9])([0-9]+).*/\1.\2/') else # Default version PYTHON_VERSION=3.8