Skip to content

Commit 410daef

Browse files
committed
Fix Python binary
1 parent ee85ea0 commit 410daef

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version: [16.x]
2525
os:
2626
- ubuntu-latest
27-
- macos-latest
27+
- macos-13
2828
- windows-latest
2929
runs-on: ${{ matrix.os }}
3030
continue-on-error: true
@@ -38,7 +38,7 @@ jobs:
3838
- uses: maxim-lobanov/setup-xcode@v1
3939
if: startsWith(runner.os, 'mac')
4040
with:
41-
xcode-version: '16.0.0'
41+
xcode-version: '15.2.0'
4242
# This is gonna be hacky.
4343
# Github made us upgrade xcode, which would force an upgrade of electron-builder to fix mac.
4444
# But there were bugs with copyfiles / extraFiles that kept seeing duplicates erroring on ln.
@@ -52,14 +52,10 @@ jobs:
5252
- name: Install Python2
5353
if: startsWith(runner.os, 'mac')
5454
run: |
55-
brew reinstall zlib
56-
export LDFLAGS="-L/usr/local/opt/zlib/lib"
57-
export CPPFLAGS="-I/usr/local/opt/zlib/include"
58-
export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
5955
brew install pyenv
6056
pyenv install 2.7
6157
pyenv global 2.7
62-
export PATH="$(pyenv root)/shims:${PATH}"
58+
ln -s $(pyenv which python2.7) /usr/bin/python
6359
- name: Download blockchain headers
6460
run: |
6561
mkdir -p ./static/daemon

0 commit comments

Comments
 (0)