-
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 1.17 KB
/
main.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
40
41
42
43
44
45
46
47
name: CI
on:
push:
pull_request:
branches:
- main
jobs:
package-haxelib:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/upload-artifact@v3
with:
name: feathersui-minimal-theme-haxelib
path: |
assets/
src/
haxelib.json
include.xml
README.md
LICENSE
NOTICE
CHANGELOG.md
if-no-files-found: error
build-flash:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.0.5
- name: Set up Haxelib dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install feathersui --quiet
haxelib dev feathersui-minimal-theme ${{ github.workspace }}
- name: Build Flash .swc library
run: haxelib run openfl build flash -debug
- uses: actions/upload-artifact@v3
with:
name: feathersui-minimal-theme-swc
path: bin/flash/bin/feathersui-minimal-theme.swc
if-no-files-found: error