Funkin/.github/workflows/learn-github-actions.yml

43 lines
1.3 KiB
YAML
Raw Normal View History

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:
- 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: |
2022-02-18 17:46:54 -05:00
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
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
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
2022-02-18 17:46:54 -05:00
- name: Install butler and shit
run: |
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
unzip butler.zip
chmod +x butler
./butler -V
2022-02-18 17:16:29 -05:00
- 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