Skip to content

1.4.2

1.4.2 #27

Workflow file for this run

name: Build/release
on:
release:
types: [released]
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 20Z
- run: yarn
- run: git submodule update --init
- run: cross-env ELECTRON_MODE=true vite build
- name: Compile Electron App
uses: x6Pnda/action-electron-compiler@v1
with:
# GitHub token, automatically provided to the action
# (Optional)
github_token: ${{ secrets.github_token }}
# If the commit is tagged with a version (e.g. "v1.0.0"),
# (Optional)
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
# Package manager. NPM, PNPM and Yarn supported. Install Yarn and PNPM yourself. Default is NPM
# (Optional)
package_manager: Yarn
# Skip buiding the application
# (Optional)
skip_build: false