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

Commit

Permalink
Run setup phase before building
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Dec 4, 2019
1 parent eb6c6a8 commit 2806d05
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,50 @@ on:
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

0 comments on commit 2806d05

Please sign in to comment.