aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2023-10-16 20:57:00 -0700
committerMicah Lee <micah@micahflee.com>2023-10-16 20:57:00 -0700
commit0a8e380ac00ad793bd75c8933b4d1007407f6e0c (patch)
treec24512b133fd706e8f09ff7941b722d606634987
parent1f0d91b663df398037861a3dc3427d1e8b25f854 (diff)
downloadonionshare-0a8e380ac00ad793bd75c8933b4d1007407f6e0c.tar.gz
onionshare-0a8e380ac00ad793bd75c8933b4d1007407f6e0c.zip
Change to Python 3.11 in a few other places
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--desktop/scripts/build-windows.py2
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"]: