mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-13 08:19:28 -05:00
Change to Python 3.11 in a few other places
This commit is contained in:
parent
1f0d91b663
commit
0a8e380ac0
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
@ -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"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user