Skip to content

electron-nightly Canary #1387

electron-nightly Canary

electron-nightly Canary #1387

Workflow file for this run

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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # tag: v3.5.3
with:
repository: electron/electron-quick-start
ref: refs/heads/main
path: electron-quick-start
- name: Use Node.js 14.x
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # tag: v3.8.1
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
shell: bash
- name: Package
run: |
cd electron-quick-start
if [ "${{ matrix.os }}" == "macOS-latest" ]; then
node_modules/.bin/electron-packager . --arch=universal
else
node_modules/.bin/electron-packager . --arch=all
fi
shell: bash