mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 16:35:03 -04:00
Hardcode path to poetry in macOS
This commit is contained in:
parent
fdd76a7708
commit
8d345d3040
1 changed files with 12 additions and 11 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -214,17 +214,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Python 3.9.13
|
- name: Install Python 3.9.13 (Intel)
|
||||||
run: |
|
run: |
|
||||||
which python3
|
|
||||||
curl -L https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output ~/Downloads/python.pkg
|
curl -L https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg --output ~/Downloads/python.pkg
|
||||||
sudo installer -pkg ~/Downloads/python.pkg -target /
|
sudo installer -pkg ~/Downloads/python.pkg -target /
|
||||||
which python3
|
|
||||||
ls -l /Applications
|
|
||||||
ls -l /Applications/Python*
|
|
||||||
|
|
||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
run: python3 -m pip install poetry
|
run: |
|
||||||
|
python3 -m pip install poetry
|
||||||
|
|
||||||
- name: Restore cache - poetry
|
- name: Restore cache - poetry
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -233,7 +230,9 @@ jobs:
|
||||||
key: ${{ runner.os }}-macos-poetry-${{ hashFiles('desktop/poetry.lock') }}
|
key: ${{ runner.os }}-macos-poetry-${{ hashFiles('desktop/poetry.lock') }}
|
||||||
|
|
||||||
- name: Install poetry dependencies
|
- name: Install poetry dependencies
|
||||||
run: cd desktop && poetry install
|
run: |
|
||||||
|
cd desktop
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.9/bin/poetry install
|
||||||
|
|
||||||
- name: Restore cache - tor
|
- name: Restore cache - tor
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -242,7 +241,9 @@ jobs:
|
||||||
key: ${{ runner.os }}-macos-tor-${{ hashFiles('desktop/scripts/get-tor.py') }}
|
key: ${{ runner.os }}-macos-tor-${{ hashFiles('desktop/scripts/get-tor.py') }}
|
||||||
|
|
||||||
- name: Get tor binaries from Tor Browser
|
- name: Get tor binaries from Tor Browser
|
||||||
run: cd desktop && poetry run python ./scripts/get-tor.py macos
|
run: |
|
||||||
|
cd desktop
|
||||||
|
/Library/Frameworks/Python.framework/Versions/3.9/bin/poetry run python ./scripts/get-tor.py macos
|
||||||
|
|
||||||
- name: Restore cache - obfs4proxy
|
- name: Restore cache - obfs4proxy
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -292,9 +293,9 @@ jobs:
|
||||||
- name: Build OnionShare
|
- name: Build OnionShare
|
||||||
run: |
|
run: |
|
||||||
cd desktop
|
cd desktop
|
||||||
poetry run python ./setup-freeze.py build
|
/Library/Frameworks/Python.framework/Versions/3.9/bin/poetry run python ./setup-freeze.py build
|
||||||
poetry run python ./setup-freeze.py bdist_mac
|
/Library/Frameworks/Python.framework/Versions/3.9/bin/poetry run python ./setup-freeze.py bdist_mac
|
||||||
poetry run python ./scripts/build-macos.py cleanup-build
|
/Library/Frameworks/Python.framework/Versions/3.9/bin/poetry run python ./scripts/build-macos.py cleanup-build
|
||||||
|
|
||||||
- name: Compress
|
- name: Compress
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue