Change to Python 3.11 in a few other places

This commit is contained in:
Micah Lee 2023-10-16 20:57:00 -07:00
parent 1f0d91b663
commit 0a8e380ac0
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
name: Build 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: on:
push: push:
branches: branches:
@ -17,7 +17,7 @@ jobs:
- name: Install python - name: Install python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.11.6' python-version: "3.11.6"
- name: Install poetry - name: Install poetry
run: C:\hostedtoolcache\windows\Python\3.11.6\x64\python -m pip 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 - name: Install Go >=1.21.1
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: '>=1.21.1' go-version: ">=1.21.1"
- run: go version - run: go version
- name: Restore cache - obfs4proxy - name: Restore cache - obfs4proxy
@ -106,7 +106,7 @@ jobs:
- name: Compress - name: Compress
shell: pwsh shell: pwsh
run: | 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 Compress-Archive -LiteralPath ~\onionshare-win64 -DestinationPath ~\onionshare-win64.zip
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3

View File

@ -321,7 +321,7 @@ def main():
@main.command() @main.command()
def cleanup_build(): def cleanup_build():
"""Delete unused PySide6 stuff to save space""" """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) before_size = get_size(build_path)
for dirname in ["qml"]: for dirname in ["qml"]: