Skip to content

Commit

Permalink
Update deploy-pypi.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Loren Eteval <[email protected]>
  • Loading branch information
LorenEteval committed Dec 24, 2024
1 parent 8a3d77f commit 3eba940
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
check-latest: true

- name: Set up Python venv
Expand Down Expand Up @@ -85,15 +85,15 @@ jobs:
os: [windows-2022, macos-13, macos-14]
env:
PYSIDE6_LEGACY_VERSION: "6.4.3"
PYSIDE6_TARGET_VERSION: "6.5.3"
PYSIDE6_TARGET_VERSION: "6.8.1"

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
check-latest: true

- name: Set up Python venv
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Install specific PySide6-Essentials on OS
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
python3 -m pip install PySide6-Essentials==$PYSIDE6_LEGACY_VERSION
python3 -m pip install PySide6-Essentials==$PYSIDE6_TARGET_VERSION
elif [ "$RUNNER_OS" == "Windows" ]; then
python3 -m pip install PySide6-Essentials==$PYSIDE6_TARGET_VERSION
else
Expand Down Expand Up @@ -178,17 +178,6 @@ jobs:
- name: Run deploy script
run: python3 Deploy.py

- name: Upgrade PySide6-Essentials to target version if on macOS
run: |
python3 -m pip uninstall -y PySide6-Essentials shiboken6
python3 -m pip install PySide6-Essentials==$PYSIDE6_TARGET_VERSION
if: runner.os == 'macOS'

- name: Run deploy script again if on macOS
run: |
python3 Deploy.py
if: runner.os == 'macOS'

- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 3eba940

Please sign in to comment.