Skip to content

Commit 4234fa8

Browse files
author
Silver Valdvee
committed
Fix set alternative
1 parent 61ecc2f commit 4234fa8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Installing dependencies
4242
run: |
4343
if [ "$RUNNER_OS" == "Linux" ]; then
44-
sudo update-alternatives --install /usr/bin/python python /opt/hostedtoolcache/Python/3.11.2/x64/bin/python3.11 1
45-
sudo update-alternatives --install /usr/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.2/x64/bin/python3.11 1
44+
sudo update-alternatives --install /usr/bin/python python /opt/hostedtoolcache/Python/3.11.*/x64/bin/python3.11 1
45+
sudo update-alternatives --install /usr/bin/python3 python3 /opt/hostedtoolcache/Python/3.11.*/x64/bin/python3.11 1
4646
fi
4747
python3 -m venv venv
4848
if [ "$RUNNER_OS" == "Linux" ]; then

0 commit comments

Comments
 (0)