1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-10-27 18:05:09 +00:00
Funkin/.github/workflows/learn-github-actions.yml

43 lines
1.3 KiB
YAML
Raw Normal View History

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