name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: krdlab/setup-haxe@v1
        with:
          haxe-version: 4.2.4
      - name: Setup
        run: |
          haxe --version
          haxelib dev electron .
          haxelib install hxnodejs
      - name: Build electron api
        run: haxe api.hxml
      - name: Build haxedoc.xml
        run: haxe haxedoc.hxml
      - name: Build demo application
        run: |
          haxe --cwd demo main.hxml
          haxe --cwd demo app.hxml

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: krdlab/setup-haxe@v1
        with:
          haxe-version: 4.2.5
      - name: Setup
        run: |
          haxe --version
          haxelib dev electron .
          haxelib install hxnodejs
      - name: Build electron api
        run: haxe api.hxml
      - name: Build haxedoc.xml
        run: haxe haxedoc.hxml
      - name: Build demo application
        run: |
          haxe --cwd demo main.hxml
          haxe --cwd demo app.hxml

Upgrade workflow haxe to v4.2.5
Upgrade workflow haxe to v4.2.5
