Skip to content

Commit

Permalink
Update package version in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Loren Eteval <[email protected]>
  • Loading branch information
LorenEteval committed Dec 4, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 04ad1cf commit c1c65ff
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
@@ -83,6 +83,9 @@ jobs:
strategy:
matrix:
os: [windows-2022, macos-13, macos-14]
env:
PySide6_Legacy_Version: "6.4.3"
PySide6_Target_Version: "6.8.1"

steps:
- uses: actions/checkout@v4
@@ -125,9 +128,9 @@ jobs:
- name: Install specific PySide6-Essentials on OS
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
python3 -m pip install PySide6-Essentials==6.4.3
python3 -m pip install PySide6-Essentials==$PySide6_Legacy_Version
elif [ "$RUNNER_OS" == "Windows" ]; then
python3 -m pip install PySide6-Essentials==6.5.3
python3 -m pip install PySide6-Essentials==$PySide6_Target_Version
else
echo "$RUNNER_OS not supported"
exit 1
@@ -175,10 +178,10 @@ jobs:
- name: Run deploy script
run: python3 Deploy.py

- name: Upgrade PySide6-Essentials to 6.5.3 if on macOS
- 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==6.5.3
python3 -m pip install PySide6-Essentials==$PySide6_Target_Version
if: runner.os == 'macOS'

- name: Run deploy script again if on macOS

0 comments on commit c1c65ff

Please sign in to comment.