Skip to content

Commit

Permalink
Fix python setuptools on macOS (#1181)
Browse files Browse the repository at this point in the history
fix macos setuptools workaround
  • Loading branch information
mceachen committed Apr 29, 2024
1 parent 320fcaf commit 608f115
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -38,10 +38,10 @@ jobs:
node-version: ${{ matrix.node }}
- if: ${{ startsWith(matrix.os, 'windows') }}
run: pip.exe install setuptools
- if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }}
- if: ${{ startsWith(matrix.os, 'macos') }}
run: brew install python-setuptools
- if: ${{ !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos') }}
run: python3 -m pip install setuptools
- if: matrix.os == 'macos-14'
run: python3 -m pip install --break-system-packages setuptools
- run: npm install --ignore-scripts
- run: npm run build-debug
- run: npm test
Expand Down Expand Up @@ -85,10 +85,10 @@ jobs:
node-version: 16
- if: ${{ startsWith(matrix.os, 'windows') }}
run: pip.exe install setuptools
- if: ${{ ! startsWith(matrix.os, 'windows') && matrix.os != 'macos-14' }}
- if: ${{ startsWith(matrix.os, 'macos') }}
run: brew install python-setuptools
- if: ${{ !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macos') }}
run: python3 -m pip install setuptools
- if: matrix.os == 'macos-14'
run: python3 -m pip install --break-system-packages setuptools
- run: npm install --ignore-scripts
- run: ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
- run: ${{ env.ELECTRON_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 608f115

Please sign in to comment.