Skip to content

Commit

Permalink
Test Windows update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Oct 2, 2019
1 parent 857d250 commit c262ab2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/electron.yml → .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build Apps
name: Build macOS

on:
push:
branches:
- release/production

jobs:
build_mac:
build:
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
Expand All @@ -28,19 +28,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
run: npx electron-forge publish --platform=darwin

build_windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install dependencies
run: yarn
- name: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx electron-forge publish --platform=win32
run: npx electron-forge publish --platform=darwin
22 changes: 22 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Windows

on:
push:
branches:
- release/production

jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install dependencies
run: yarn
- name: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx electron-forge publish --platform=win32

0 comments on commit c262ab2

Please sign in to comment.