diff --git a/.github/workflows/desktop-manual-build.yml b/.github/workflows/desktop-manual-build.yml index 18d0edf..0d6b393 100644 --- a/.github/workflows/desktop-manual-build.yml +++ b/.github/workflows/desktop-manual-build.yml @@ -188,7 +188,12 @@ jobs: - name: Build desktop artifact shell: bash - run: npm --prefix packages/desktop run dist -- ${{ needs.validate.outputs.electron_target }} ${MAC_BUILD_EXTRA_ARGS:-} --publish never + run: | + if [ "${{ needs.validate.outputs.target_os }}" = "darwin" ]; then + ulimit -n 10240 || true + echo "File descriptor limit: $(ulimit -n)" + fi + npm --prefix packages/desktop run dist -- ${{ needs.validate.outputs.electron_target }} ${MAC_BUILD_EXTRA_ARGS:-} --publish never - name: Upload workflow artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml index 821d3bb..c52f673 100644 --- a/.github/workflows/desktop-release.yml +++ b/.github/workflows/desktop-release.yml @@ -153,7 +153,12 @@ jobs: - name: Build desktop artifact shell: bash - run: npm --prefix packages/desktop run dist -- ${{ matrix.electron_target }} ${MAC_BUILD_EXTRA_ARGS:-} --publish never + run: | + if [ "${{ matrix.target_os }}" = "darwin" ]; then + ulimit -n 10240 || true + echo "File descriptor limit: $(ulimit -n)" + fi + npm --prefix packages/desktop run dist -- ${{ matrix.electron_target }} ${MAC_BUILD_EXTRA_ARGS:-} --publish never - name: Upload macOS update manifest artifact if: matrix.target_os == 'darwin'