diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e913d422..a44c33e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,9 @@ jobs: node-version: ${{ matrix.node }} - if: ${{ startsWith(matrix.os, 'windows') }} run: pip.exe install setuptools - - if: ${{ ! startsWith(matrix.os, 'windows') }} + - 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 - run: npm install --ignore-scripts - run: npm run build-debug @@ -82,7 +84,9 @@ jobs: node-version: 16 - if: ${{ startsWith(matrix.os, 'windows') }} run: pip.exe install setuptools - - if: ${{ ! startsWith(matrix.os, 'windows') }} + - 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 - run: npm install --ignore-scripts - run: ${{ env.NODE_BUILD_CMD }} -u ${{ secrets.GITHUB_TOKEN }}