2022-05-18 13:27:56 -04:00
|
|
|
name: setup-haxeshit
|
2023-02-22 14:39:41 -05:00
|
|
|
description: "sets up haxe shit, using HMM!"
|
2022-05-18 13:27:56 -04:00
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
2023-05-24 18:55:42 -04:00
|
|
|
- uses: krdlab/setup-haxe@v1.5.1
|
2022-05-18 13:27:56 -04:00
|
|
|
with:
|
2023-05-24 18:55:42 -04:00
|
|
|
haxe-version: 4.3.1
|
2023-02-22 14:39:41 -05:00
|
|
|
- name: Config haxelib
|
|
|
|
run: |
|
|
|
|
haxelib config
|
|
|
|
shell: bash
|
2023-06-15 14:12:39 -04:00
|
|
|
- name: Restore/create existing haxelib cache for faster downloads
|
|
|
|
uses: actions/cache@v3
|
|
|
|
id: cache-haxelib-windows
|
|
|
|
with:
|
|
|
|
# wha?
|
|
|
|
key: cache-haxelib-${{ runner.os }}-${{ hashFiles('**/hmm.json')}}
|
|
|
|
path: |
|
|
|
|
.haxelib/
|
2023-02-22 14:39:41 -05:00
|
|
|
- name: Installing Haxe lol
|
|
|
|
run: |
|
|
|
|
haxe -version
|
|
|
|
haxelib git haxelib https://github.com/HaxeFoundation/haxelib.git
|
|
|
|
haxelib version
|
|
|
|
haxelib --global install hmm
|
2023-06-15 14:09:19 -04:00
|
|
|
haxelib --global run hmm install
|
2023-02-22 14:39:41 -05:00
|
|
|
shell: bash
|