Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Add first draft of auto build action #133

Merged
merged 2 commits into from
Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Release Builder

on:
release:
types: [published, created, edited, prereleased]

jobs:
# Windows
build-win:
name: Build (Windows)
runs-on: windows-latest
steps:
# Setup
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install

# Build
- run: npm run electron:build -- -w # -p always

# macOS
build-mac:
name: Build (macOS)
runs-on: macos-latest
steps:
# Setup
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install

# Build
- run: npm run electron:build -- -m # -p always

# Linux
build-linux:
name: Build (Linux)
runs-on: ubuntu-latest
steps:
# Setup
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install

# Build
- run: npm run electron:build -- -l # -p always