Skip to content

Commit

Permalink
ci(gui): install python
Browse files Browse the repository at this point in the history
  • Loading branch information
bambanah committed Sep 12, 2024
1 parent e47c817 commit 5d73953
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-release-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,25 @@ jobs:
node-version: 20
cache: pnpm

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: Install distutils
run: |
python -m pip install --upgrade pip
pip install setuptools
- name: Set PYTHON env var
run: echo "PYTHON=$(which python)" >> $GITHUB_ENV

- run: pnpm install --frozen-lockfile

- name: Rebuild Electron modules
run: |
cd gui
pnpm rebuild
npx electron-rebuild
if: matrix.os == 'macos-latest'

Expand Down

0 comments on commit 5d73953

Please sign in to comment.