ci: fix python3.12 absolute path
This commit is contained in:
@@ -18,10 +18,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use system Python
|
- name: Use system Python 3.12
|
||||||
run: |
|
run: |
|
||||||
ln -sf "$(command -v python3.12)" /usr/local/bin/python
|
ln -sf /root/.local/share/mise/installs/python/3.12/bin/python3.12 /usr/local/bin/python
|
||||||
ln -sf "$(command -v python3.12)" /usr/local/bin/python3
|
ln -sf /root/.local/share/mise/installs/python/3.12/bin/python3.12 /usr/local/bin/python3
|
||||||
|
ln -sf /root/.local/share/mise/installs/python/3.12/bin/python3.12 /usr/local/bin/python3.12
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r scripts/requirements.txt
|
run: pip install -r scripts/requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user