Skip to content

Commit 3ec3e0b

Browse files
committed
actions: consolidate some jobs
1 parent 1a2b047 commit 3ec3e0b

File tree

3 files changed

+31
-50
lines changed

3 files changed

+31
-50
lines changed

.github/workflows/flash.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/haxelib.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,24 @@ on:
77
- master
88

99
jobs:
10-
build:
10+
haxelib:
1111
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: krdlab/setup-haxe@v1
15+
with:
16+
haxe-version: 4.3.4
17+
- name: Package Haxelib
18+
working-directory: haxelib
19+
run: haxe haxelib.hxml
20+
- uses: actions/upload-artifact@v4
21+
with:
22+
name: feathersui-validators-haxelib
23+
path: bin/haxelib/
24+
if-no-files-found: error
1225

26+
api:
27+
runs-on: ubuntu-latest
1328
steps:
1429
- uses: actions/checkout@v4
1530
- uses: krdlab/setup-haxe@v1
@@ -38,3 +53,18 @@ jobs:
3853
host: ${{ secrets.SSH_HOST }}
3954
username: ${{ secrets.SSH_USER }}
4055
password: ${{ secrets.SSH_PASS }}
56+
57+
flash:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
- uses: krdlab/setup-haxe@v1
62+
with:
63+
haxe-version: 4.0.5
64+
- name: Set up Haxelib dependencies
65+
run: |
66+
haxelib install lime 7.8.0 --quiet
67+
haxelib install openfl 8.9.7 --quiet
68+
haxelib dev feathersui-validators ${{ github.workspace }}
69+
- name: Build Flash .swc library
70+
run: haxelib run openfl build flash -debug

0 commit comments

Comments
 (0)