Update binary release workflow

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2024-02-29 23:25:41 +08:00
parent 7051a6e01a
commit b3b09e1c5b
+11 -4
View File
@@ -21,6 +21,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"
check-latest: true
- name: Set up Python venv
run: |
@@ -47,10 +48,15 @@ jobs:
pip install
setuptools wheel
- name: Install PySide6 6.4.3 if on macOS
- name: Install specific PySide6-Essentials on OS
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
python3 -m pip install PySide6==6.4.3
python3 -m pip install PySide6-Essentials==6.4.3
elif [ "$RUNNER_OS" == "Windows" ]; then
python3 -m pip install PySide6-Essentials==6.5.3
else
echo "$RUNNER_OS not supported"
exit 1
fi
- name: Install requirements-nocore.txt
@@ -98,10 +104,11 @@ jobs:
- name: Run deploy script
run: python3 Deploy.py
- name: Upgrade PySide6 to latest if on macOS
- name: Upgrade PySide6-Essentials to 6.5.3 if on macOS
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
python3 -m pip install --upgrade PySide6
python3 -m pip uninstall -y PySide6-Essentials shiboken6
python3 -m pip install PySide6-Essentials==6.5.3
fi
- name: Run deploy script again if on macOS