2022-02-18 16:28:13 -05:00
|
|
|
name: learn-github-actions
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
2022-02-18 17:19:45 -05:00
|
|
|
create-nightly-linux:
|
2022-02-18 16:28:13 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-02-18 16:47:44 -05:00
|
|
|
- uses: krdlab/setup-haxe@v1.1.6
|
|
|
|
with:
|
|
|
|
haxe-version: 4.2.4
|
2022-02-18 16:31:08 -05:00
|
|
|
- uses: actions/checkout@v2
|
2022-02-18 17:43:45 -05:00
|
|
|
- name: Cache Haxe Stuff
|
|
|
|
run: |
|
|
|
|
haxelib config
|
2022-02-18 17:16:29 -05:00
|
|
|
- name: Installing Haxe Stuff
|
|
|
|
run: |
|
2022-02-18 16:49:51 -05:00
|
|
|
haxe -version
|
2022-02-18 17:04:48 -05:00
|
|
|
haxelib install openfl --quiet
|
|
|
|
haxelib install lime --quiet
|
|
|
|
haxelib install flixel --quiet
|
|
|
|
haxelib install flixel-addons --quiet
|
2022-02-18 17:16:29 -05:00
|
|
|
haxelib install hscript --quiet
|
|
|
|
haxelib install flixel-ui --quiet
|
|
|
|
haxelib install firetongue --quiet
|
2022-02-18 17:19:01 -05:00
|
|
|
haxelib install hxcpp-debug-server --quiet
|
|
|
|
haxelib install hxcpp --quiet
|
2022-02-18 17:16:29 -05:00
|
|
|
haxelib git polymod https://github.com/larsiusprime/polymod develop --quiet
|
2022-02-18 17:04:48 -05:00
|
|
|
haxelib run lime setup linux
|
2022-02-18 17:16:29 -05:00
|
|
|
- name: Build game?
|
|
|
|
run: |
|
2022-02-18 17:33:32 -05:00
|
|
|
haxelib run lime build html5 -debug -clean
|
2022-02-18 17:16:29 -05:00
|
|
|
ls
|
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: funkinSecret-${{ runner.os }}-${{ github.sha }}
|
2022-02-18 17:33:32 -05:00
|
|
|
path: export/debug/html5/bin
|
2022-02-18 17:16:29 -05:00
|
|
|
|