mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-19 21:33:06 +00:00
attempt i. at caching haxe installs
This commit is contained in:
parent
af65b83ddd
commit
2e97bb2d7b
43
.github/actions/setup-haxeshit/action.yml
vendored
43
.github/actions/setup-haxeshit/action.yml
vendored
|
@ -3,18 +3,31 @@ description: "sets up haxe shit, using HMM!"
|
|||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: krdlab/setup-haxe@v1.5.1
|
||||
with:
|
||||
haxe-version: 4.3.1
|
||||
- name: Config haxelib
|
||||
run: |
|
||||
haxelib config
|
||||
shell: bash
|
||||
- name: Installing Haxe lol
|
||||
run: |
|
||||
haxe -version
|
||||
haxelib git haxelib https://github.com/HaxeFoundation/haxelib.git development
|
||||
haxelib version
|
||||
haxelib --global install hmm
|
||||
haxelib --global run hmm install
|
||||
shell: bash
|
||||
- uses: krdlab/setup-haxe@v1.5.1
|
||||
with:
|
||||
haxe-version: 4.3.1
|
||||
- name: Config haxelib
|
||||
run: |
|
||||
haxelib config
|
||||
shell: bash
|
||||
- name: Installing Haxe lol
|
||||
run: |
|
||||
haxe -version
|
||||
haxelib git haxelib https://github.com/HaxeFoundation/haxelib.git development
|
||||
haxelib version
|
||||
haxelib --global install hmm
|
||||
shell: bash
|
||||
- name: dependency install cache
|
||||
id: cache-hmm
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: .haxelib
|
||||
key: ${{ runner.os }}-hmm-${{ hashFiles('**/hmm.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-hmm-
|
||||
${{ runner.os }}-
|
||||
- if: ${{ steps.cache-hmm.outputs.cache-hit != 'true' }}
|
||||
name: hmm install
|
||||
run: |
|
||||
haxelib --global run hmm install
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue