Skip to content

Update README.md

Update README.md #2

# name of your github action
name: CI
# this will help you specify where to run
on:
push:
branches:
# this will run on the electron branch
- main
# this is where the magic happens, each job happens in parallel btw
jobs:
build_on_mac:
runs-on: macOS-latest
steps:
- uses: actions/checkout@master
with:
ref: electron
- uses: actions/setup-node@master
with:
node-version: 10.16
- name: see directory
run: ls
build_on_win:

Check failure on line 22 in .github/workflows/electron_build.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/electron_build.yaml (Line: 22, Col: 1): Unexpected value 'build_on_win'
runs-on: windows-2016
steps:
- uses: actions/checkout@master
with:
ref: feature/github-actions
- uses: actions/setup-node@master
with:
node-version: 10.16
- name: see directory
run: ls