feat: update indexing service #3464
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/samuelmeuli/action-electron-builder | |
name: Build Executables | |
on: | |
pull_request: | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: setup dependencies | |
if: startsWith(matrix.os, 'ubuntu') | |
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev libarchive-tools | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: Install deps with big timeout | |
run: | | |
yarn install --network-timeout 600000 | |
- name: Build App Binaries (MacOS, Ubuntu) | |
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu') | |
run: | | |
yarn electron:build | |
- name: Build App Binaries (Windows) | |
if: startsWith(matrix.os, 'windows') | |
run: | | |
yarn electron:winbuild | |