Bump electron version #135
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
name: Build and publish electron app | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build_for_linux: | |
name: Build for linux | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: | | |
rm -rf dist/ | |
npm install -g @quasar/cli yarn --force | |
yarn install | |
- name: Build and release Linux binaries | |
env: | |
EP_GH_IGNORE_TIME: true | |
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | |
run: | | |
quasar build --mode electron --publish always -T linux --icon=/src-electron/icons/icon.png | |
build_for_windows: | |
name: Build for windows | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: | | |
npm install -g @quasar/cli yarn --force | |
yarn install | |
- name: Build and release Windows binaries | |
env: | |
EP_GH_IGNORE_TIME: true | |
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | |
run: | | |
quasar build --mode electron --publish always -T win32 --icon=/src-electron/icons/icon.ico | |
#build_for_windows_xp: | |
# name: Build for windows XP | |
# runs-on: windows-2022 | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# - uses: actions/setup-node@v2 | |
# with: | |
# node-version: '18' | |
# - name: Install dependencies | |
# run: | | |
# npm install -g @quasar/cli yarn --force | |
# rm package.json, yarn.lock, quasar.config.js | |
# ren package.winxp.json package.json | |
# ren quasar.config.winxp.js quasar.conf.js | |
# yarn install | |
# - name: Build and release WindowsXP binaries | |
# env: | |
# EP_GH_IGNORE_TIME: true | |
# GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | |
# run: | | |
# quasar build --mode electron --publish always -T win32 --icon=/src-electron/icons/icon.ico | |
build_for_macos: | |
name: Build for macos | |
runs-on: macos-12 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: | | |
rm -rf dist/ | |
npm install -g @quasar/cli yarn --force | |
yarn install | |
- name: dmg-license add | |
run: | | |
sudo npm install -g dmg-license | |
- name: Build and release MacOS binaries | |
env: | |
EP_GH_IGNORE_TIME: true | |
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} | |
run: | | |
quasar build --mode electron --publish always -T darwin --icon=/src-electron/icons/icon.icns |