Funkin/.github/actions/setup-haxeshit/action.yml

29 lines
837 B
YAML
Raw Normal View History

name: setup-haxeshit
2023-02-22 14:39:41 -05:00
description: "sets up haxe shit, using HMM!"
runs:
using: "composite"
steps:
2023-05-24 18:55:42 -04:00
- uses: krdlab/setup-haxe@v1.5.1
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
- 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