From 84612a9dffe42c1d54fe24c39bd1ee37e80c6942 Mon Sep 17 00:00:00 2001 From: Ben van Hartingsveldt Date: Tue, 16 Sep 2025 17:56:59 +0200 Subject: [PATCH] Change Homebrew formula --- .github/workflows/deploy.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 17d20eaea..3d05b90e6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,20 +39,14 @@ jobs: if: startsWith(runner.os, 'mac') with: xcode-version: '15.2.0' - # This is gonna be hacky. - # Github made us upgrade xcode, which would force an upgrade of electron-builder to fix mac. - # But there were bugs with copyfiles / extraFiles that kept seeing duplicates erroring on ln. - # A flag USE_HARD_LINKS=false in electron-builder.json was suggested in comments, but that broke windows builds. - # So for now we'll install python2 on mac and make sure it can find it. - # Remove this after successfully upgrading electron-builder. - # HACK part 1 - uses: Homebrew/actions/setup-homebrew@master if: startsWith(runner.os, 'mac') - # HACK part 2 - name: Install Python2 if: startsWith(runner.os, 'mac') run: | - brew install python@2 + brew install pyenv + pyenv install 2.7 + pyenv global 2.7 - name: Download blockchain headers run: | mkdir -p ./static/daemon