Skip to content

Commit 604c399

Browse files
author
uiv02430vitescocom_SGGITC
committed
fix: update distutils installation method in GitHub workflows
1 parent 8da5e79 commit 604c399

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ jobs:
2020
with:
2121
python-version: '3.11'
2222

23-
- name: Install distutils
24-
run: sudo apt-get update && sudo apt-get install -y python3-distutils
23+
- name: Workaround Install distutils manually
24+
run: |
25+
python -m ensurepip
26+
python -m pip install setuptools
2527
2628
- name: Setup node.js
2729
uses: actions/setup-node@v2
@@ -55,8 +57,10 @@ jobs:
5557
with:
5658
python-version: '3.11'
5759

58-
- name: Install distutils
59-
run: sudo apt-get update && sudo apt-get install -y python3-distutils
60+
- name: Workaround Install distutils manually
61+
run: |
62+
python -m ensurepip
63+
python -m pip install setuptools
6064
6165
- name: Setup node.js
6266
uses: actions/setup-node@v2

0 commit comments

Comments
 (0)