hi guys (2) #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
buildProcess: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2.3.0 | |
- uses: krdlab/setup-haxe@master | |
with: | |
haxe-version: latest | |
- name: Setup Haxe | |
run: | | |
haxelib setup C:/haxelib | |
haxelib install hxcpp > /dev/null --quiet | |
haxelib install lime | |
haxelib install openfl | |
haxelib install flixel | |
haxelib install flixel-addons | |
haxelib install hxdiscord_rpc | |
haxelib git flixel-arwen https://github.com/crowplexus/flixel | |
haxelib git flixel-addons-arwen https://github.com/crowplexus/flixel-addons | |
haxelib git hscript-iris https://github.com/crowplexus/hscript-iris | |
haxelib git yaml https://github.com/crowplexus/hx-yaml | |
shell: cmd | |
- name: Create Version Tag | |
run: echo "${{github.run_id}}" > VERSION | |
- name: Compiling Process | |
run: haxelib run lime build windows --app-version="4.0.0-${{ github.run_id}}" | |
- name: Publish Artifact | |
uses: actions/upload-artifact@v2.2.4 | |
with: | |
name: Windows | |
path: export/release/windows/bin |