From 0a8e380ac00ad793bd75c8933b4d1007407f6e0c Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 16 Oct 2023 20:57:00 -0700 Subject: [PATCH] Change to Python 3.11 in a few other places --- .github/workflows/build.yml | 8 ++++---- desktop/scripts/build-windows.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eda7b09b..2df9050a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,5 @@ name: Build -run-name: Build win64, mac (Intel), Snap, and Flatpak 🚀 +run-name: Build Windows (x86_64), macOS (Intel and ARM64), Snap, and Flatpak 🚀 on: push: branches: @@ -17,7 +17,7 @@ jobs: - name: Install python uses: actions/setup-python@v4 with: - python-version: '3.11.6' + python-version: "3.11.6" - name: Install poetry run: C:\hostedtoolcache\windows\Python\3.11.6\x64\python -m pip install poetry @@ -46,7 +46,7 @@ jobs: - name: Install Go >=1.21.1 uses: actions/setup-go@v4 with: - go-version: '>=1.21.1' + go-version: ">=1.21.1" - run: go version - name: Restore cache - obfs4proxy @@ -106,7 +106,7 @@ jobs: - name: Compress shell: pwsh run: | - mv desktop\build\exe.win-amd64-3.10\ ~\onionshare-win64 + mv desktop\build\exe.win-amd64-3.11\ ~\onionshare-win64 Compress-Archive -LiteralPath ~\onionshare-win64 -DestinationPath ~\onionshare-win64.zip - uses: actions/upload-artifact@v3 diff --git a/desktop/scripts/build-windows.py b/desktop/scripts/build-windows.py index ca4d8ede..79d08a31 100644 --- a/desktop/scripts/build-windows.py +++ b/desktop/scripts/build-windows.py @@ -321,7 +321,7 @@ def main(): @main.command() def cleanup_build(): """Delete unused PySide6 stuff to save space""" - build_path = os.path.join(desktop_dir, "build", "exe.win-amd64-3.10") + build_path = os.path.join(desktop_dir, "build", "exe.win-amd64-3.11") before_size = get_size(build_path) for dirname in ["qml"]: