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
1 parent 04ad1cf commit fd382ec
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -156,6 +159,17 @@ jobs:
go version
python3 -m pip install "hysteria > 1.3.5"
- name: Set up go 1.21
uses: actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true

- name: Install go 1.21 dependencies
run: |
go version
python3 -m pip install "tun2socks <= 2.5.1.2"
- name: Set up go 1.23
uses: actions/setup-go@v4
with:
Expand All @@ -165,7 +179,7 @@ jobs:
- name: Install go 1.23 dependencies
run: |
go version
python3 -m pip install "Xray-core >= 1.8.8" "hysteria2 >= 2.0.4" "tun2socks > 2.5.2"
python3 -m pip install "Xray-core >= 1.8.8" "hysteria2 >= 2.0.4"
- name: Download latest asset files
run: |
Expand All @@ -175,10 +189,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
Expand Down

0 comments on commit fd382ec

Please sign in to comment.