-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (36 loc) · 1.21 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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