Add CLI options to display app and user data directories #80
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
# Based on | |
# https://dev.to/erikhofer/build-and-publish-a-multi-platform-electron-app-on-github-3lnd | |
# Currently, the action can only work with Linux. Both, macOS and Windows fail, due to some hard to | |
# isolate problems. | |
# On Windows, it gets interrupted somehow; sometimes showing that a ^C signal came, sometimes via a | |
# SIGINT. GitHub Runner issue #2468 (https://github.com/actions/runner/issues/2468) seems related to | |
# this. | |
# On macOS, it fails reproducable at copying the custom application icon file with an EEXIST error. | |
# That seems to be electron-builder issue #6570 | |
# (https://github.com/electron-userland/electron-builder/issues/6570) | |
name: Build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.github_token }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@master | |
with: | |
node-version: latest | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npm run dist-ci |