-
-
Notifications
You must be signed in to change notification settings - Fork 9
37 lines (34 loc) · 1.1 KB
/
canary.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: electron-nightly Canary
on:
schedule:
- cron: '15 8 * * *'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macOS-latest, ubuntu-latest]
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # tag: v3.3.0
with:
repository: electron/electron-quick-start
ref: refs/heads/master
path: electron-quick-start
- name: Use Node.js 14.x
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # tag: v3.6.0
with:
node-version: 14.x
- name: Replace electron with electron-nightly
run: |
cd electron-quick-start
npm uninstall --save-dev electron
npm install --save-dev electron-nightly@latest
shell: bash
- name: Install Electron Packager
run: |
cd electron-quick-start
npm install --save-dev electron-packager@electron/electron-packager
- name: Package
run: |
cd electron-quick-start
node_modules/.bin/electron-packager . --arch=all