2022-05-18 17:27:56 +00:00
|
|
|
name: setup-haxeshit
|
2023-02-22 19:39:41 +00:00
|
|
|
description: "sets up haxe shit, using HMM!"
|
2022-05-18 17:27:56 +00:00
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
2024-01-29 19:50:04 +00:00
|
|
|
- uses: funkincrew/ci-haxe@v3
|
2023-10-06 14:52:28 +00:00
|
|
|
with:
|
2024-01-29 19:50:04 +00:00
|
|
|
haxe-version: 4.3.3
|
2023-10-06 14:52:28 +00:00
|
|
|
- name: Config haxelib
|
|
|
|
run: |
|
|
|
|
haxelib config
|
|
|
|
shell: bash
|
|
|
|
- name: Installing Haxe lol
|
|
|
|
run: |
|
|
|
|
haxe -version
|
2023-11-04 16:36:09 +00:00
|
|
|
haxelib git haxelib https://github.com/HaxeFoundation/haxelib.git master
|
2023-10-06 14:52:28 +00:00
|
|
|
haxelib version
|
|
|
|
haxelib --global install hmm
|
|
|
|
shell: bash
|
|
|
|
- name: dependency install cache
|
|
|
|
id: cache-hmm
|
2024-01-29 19:50:04 +00:00
|
|
|
uses: actions/cache@v4
|
2023-10-06 14:52:28 +00:00
|
|
|
with:
|
|
|
|
path: .haxelib
|
|
|
|
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
|
|
|
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
|
|
|
name: hmm install
|
|
|
|
run: |
|
|
|
|
haxelib --global run hmm install
|
|
|
|
shell: bash
|