mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
3.11.5 introduces a change that breaks unpickling of save files that leads to #3379. This PR introduces a short term fix by locking the python version used in the build until the root cause can be found and fixed.
22 lines
500 B
YAML
22 lines
500 B
YAML
name: Liberation Python set-up
|
|
description: Sets up the Liberation Python environment.
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.11.4"
|
|
cache: pip
|
|
|
|
- name: Install environment
|
|
shell: powershell
|
|
run: |
|
|
python -m venv ./venv
|
|
|
|
- name: Install dependencies
|
|
shell: powershell
|
|
run: |
|
|
./venv/scripts/activate
|
|
python -m pip install -r requirements.txt
|