Specify the Python version used by workflow as 3.12 (#217)

This commit is contained in:
DXL
2024-06-13 16:24:19 +08:00
committed by GitHub
parent 0bc01f565a
commit 3cadd47eeb
+7 -2
View File
@@ -38,10 +38,15 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ inputs.checkout-sha == null && github.sha || inputs.checkout-sha }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install PyInstaller and client dependencies
run: |
pip3 install pyinstaller
pip3 install -r software/script/requirements.txt
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r software/script/requirements.txt
- name: Run OS specific setup
run: ${{ matrix.pre_command }}
- name: Compile native code