mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-24 18:22:58 -03:00
Updates MacOS poetry installation steps
This commit is contained in:
parent
15b372c11b
commit
b34b288a3b
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -127,7 +127,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install poetry
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
|
|
||||||
- name: Restore cache - poetry
|
- name: Restore cache - poetry
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -138,7 +138,7 @@ jobs:
|
||||||
- name: Install poetry dependencies
|
- name: Install poetry dependencies
|
||||||
run: |
|
run: |
|
||||||
cd desktop
|
cd desktop
|
||||||
/Library/Frameworks/Python.framework/Versions/3.11/bin/poetry install
|
~/Library/Application\ Support/pypoetry/venv/bin/poetry install
|
||||||
|
|
||||||
- name: Restore cache - tor
|
- name: Restore cache - tor
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -149,7 +149,7 @@ jobs:
|
||||||
- name: Get tor binaries from Tor Browser
|
- name: Get tor binaries from Tor Browser
|
||||||
run: |
|
run: |
|
||||||
cd desktop
|
cd desktop
|
||||||
/Library/Frameworks/Python.framework/Versions/3.11/bin/poetry run python ./scripts/get-tor.py macos
|
~/Library/Application\ Support/pypoetry/venv/bin/poetry run python ./scripts/get-tor.py macos
|
||||||
|
|
||||||
- name: Install Go >=1.21.1
|
- name: Install Go >=1.21.1
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
|
@ -215,10 +215,10 @@ jobs:
|
||||||
- name: Build OnionShare
|
- name: Build OnionShare
|
||||||
run: |
|
run: |
|
||||||
cd desktop
|
cd desktop
|
||||||
/Library/Frameworks/Python.framework/Versions/3.11/bin/poetry run python ./setup-freeze.py bdist_mac
|
~/Library/Application\ Support/pypoetry/venv/bin/poetry run python ./setup-freeze.py bdist_mac
|
||||||
rm -rf build/OnionShare.app/Contents/Resources/lib
|
rm -rf build/OnionShare.app/Contents/Resources/lib
|
||||||
mv build/exe.macosx-10.9-universal2-3.11/lib build/OnionShare.app/Contents/Resources/
|
mv build/exe.macosx-10.9-universal2-3.11/lib build/OnionShare.app/Contents/Resources/
|
||||||
/Library/Frameworks/Python.framework/Versions/3.11/bin/poetry run python ./scripts/build-macos.py cleanup-build
|
~/Library/Application\ Support/pypoetry/venv/bin/poetry run python ./scripts/build-macos.py cleanup-build
|
||||||
|
|
||||||
- name: Compress
|
- name: Compress
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Reference in a new issue