From 5a0a5f63365e398741b0156905d152817197da1f Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 12 May 2024 11:56:31 +0800 Subject: [PATCH] fix building --- .github/workflows/ci.yml | 4 ++-- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec52bf7..0bc6730 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: Build latest version on: [push] jobs: build-macos-arm64: - runs-on: macos-14 + runs-on: macos-latest steps: - name: Check out code uses: actions/checkout@v3 @@ -28,7 +28,7 @@ jobs: path: dist-macOS-arm64/SciHubEVA-arm64-latest.dmg build-macos-x86_64: - runs-on: macos-latest + runs-on: macos-13 steps: - name: Check out code uses: actions/checkout@v3 diff --git a/requirements.txt b/requirements.txt index 287d604..bbbc0e9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,8 @@ darkdetect==0.8.0 lxml==5.2.1 pathvalidate==3.2.0 pdfminer.six==20231228 -PySide6==6.7.0 +PySide6==6.7.0; platform_system != 'Linux' +PySide6==6.6.3.1; platform_system == 'Linux' PySocks==1.7.1 requests==2.31.0 urllib3==2.2.1 \ No newline at end of file