From 3d8fd6fa192d9c8778ff2d04c9f46a14769e6035 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Wed, 3 Jan 2024 12:23:03 +0000 Subject: [PATCH] Update electron-release.yml (#570) * Update electron-release.yml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update electron-release.yml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/electron-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/electron-release.yml b/.github/workflows/electron-release.yml index 995f42f5..aa074caf 100644 --- a/.github/workflows/electron-release.yml +++ b/.github/workflows/electron-release.yml @@ -1,6 +1,7 @@ name: Electron build/release on: + workflow_dispatch: release: types: - created @@ -35,6 +36,12 @@ jobs: runs-on: macos-latest steps: + # Install Python 2.7 or a compatible version for node-gyp + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: "2.7" # or another compatible version + - name: Check out Git repository uses: actions/checkout@v1 - name: Download updated package.json @@ -52,6 +59,7 @@ jobs: run: | cd taxonium_electron source download.sh + yarn add macos-alias yarn install yarn make --arch=arm64 yarn make --arch=x64