mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-23 15:53:46 +02: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
2 changed files with 5 additions and 3 deletions
|
@ -21,10 +21,10 @@ jobs:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.12"
|
||||||
|
|
||||||
### on Windows Git will auto change line ending to CRLF, not preferable
|
### on Windows Git will auto change line ending to CRLF, not preferable
|
||||||
- name: Ensure LF line ending
|
- name: Ensure LF line ending
|
||||||
|
|
|
@ -6,11 +6,13 @@ if [ "$(id -u)" -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python_package="python3.10"
|
python_package="python3.12"
|
||||||
venv=".env-linux"
|
venv=".env-linux"
|
||||||
reqs_file="requirements.txt"
|
reqs_file="requirements.txt"
|
||||||
script_dir=$( cd -- "$( dirname -- "${0}" )" &> /dev/null && pwd )
|
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
|
add-apt-repository ppa:deadsnakes/ppa -y
|
||||||
apt update -y || exit 1
|
apt update -y || exit 1
|
||||||
apt install "$python_package" -y || exit 1
|
apt install "$python_package" -y || exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue