Skip to content

Commit 8dfe23a

Browse files
committed
Update github workflow
1 parent 14f08cf commit 8dfe23a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ jobs:
6161
# ----- install distutils if needed -----
6262
#----------------------------------------------
6363
- name: Install distutils on Ubuntu
64-
if: matrix.os == 'ubuntu-latest'
64+
if: matrix.os == 'ubuntu-latest' && (matrix.python-version == '3.10' || matrix.python-version == '3.11')
6565
run: |
66-
sudo add-apt-repository ppa:deadsnakes/ppa
66+
sudo add-apt-repository ppa:deadsnakes/ppa -y
6767
sudo apt-get update
68-
sudo apt install python${{ matrix.python-version }}-distutils
68+
sudo apt install python${{ matrix.python-version }}-distutils -y
6969
#----------------------------------------------
7070
# ----- install & configure poetry -----
7171
#----------------------------------------------

0 commit comments

Comments
 (0)