mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-25 01:44:15 +08:00
this warning might be the reason SSL certificate is failing on Arch (when adding deadsnake PPA): "Note: for jammy and noble, older python versions requre libssl<3 so they are not currently built"
This commit is contained in:
parent
b1217657db
commit
f7e4394f34
@ -21,10 +21,10 @@ jobs:
|
||||
runs-on: windows-2022
|
||||
|
||||
steps:
|
||||
- name: Set up Python 3.10
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
python-version: "3.12"
|
||||
|
||||
### on Windows Git will auto change line ending to CRLF, not preferable
|
||||
- name: Ensure LF line ending
|
||||
|
@ -6,11 +6,13 @@ if [ "$(id -u)" -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python_package="python3.10"
|
||||
python_package="python3.12"
|
||||
venv=".env-linux"
|
||||
reqs_file="requirements.txt"
|
||||
script_dir=$( cd -- "$( dirname -- "${0}" )" &> /dev/null && pwd )
|
||||
|
||||
apt update -y || exit 1
|
||||
apt install software-properties-common -y
|
||||
add-apt-repository ppa:deadsnakes/ppa -y
|
||||
apt update -y || exit 1
|
||||
apt install "$python_package" -y || exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user