Skip to content

Update build.yml

Update build.yml #5

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
buildWindows:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- uses: krdlab/setup-haxe@master
with:
haxe-version: 4.3.6
- name: Install Haxelib
run: |
haxelib setup C:/haxelib
haxelib install lime
haxelib install openfl
haxelib install flixel
haxelib run lime setup flixel
haxelib run lime setup
haxelib install flixel-ui
haxelib install flixel-addons
haxelib install hscript
haxelib install polymod
shell: cmd
- name: Create Version Tag
run: echo "${{github.run_id}}" > VERSION
- name: Compile
run: haxelib run lime build windows
- name: Publish Artifact
uses: actions/upload-artifact@main
with:
name: windowsBuild
path: export/release/windows/bin