forked from boorik/smartfox-haxe-client
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (53 loc) · 1.39 KB
/
build.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
48
49
50
51
52
53
54
55
name: Flash
on:
push:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: krdlab/setup-haxe@v1
- name: Set up Haxelib dependencies
run: |
haxelib install haxe-crypto 0.0.7
haxelib install colyseus-websocket 1.0.12
haxelib install hxjava
- name: Build libraries
run: haxe build.hxml
- uses: actions/upload-artifact@v3
with:
name: sfs2x.js
path: bin/sfs2x.js
if-no-files-found: error
- name: Zip files
run: |
cd bin/php
7z a -tzip ../sfs2x.php.zip *
- uses: actions/upload-artifact@v3
with:
name: sfs2x.jar
path: bin/sfs2x.jar
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: sfs2x.lua
path: bin/sfs2x.lua
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: sfs2x.py
path: bin/sfs2x.py
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: sfs2x.swc
path: bin/sfs2x.swc
#if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: sfs2x_full.swc
path: bin/sfs2x_full.swc
#if-no-files-found: error