moved caching so html5 can also cache haxelibs

This commit is contained in:
Cameron Taylor 2023-06-15 14:12:39 -04:00
parent a7aafa9e3e
commit 0b42b6e305
2 changed files with 8 additions and 8 deletions

View File

@ -10,6 +10,14 @@ runs:
run: | run: |
haxelib config haxelib config
shell: bash 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/
- name: Installing Haxe lol - name: Installing Haxe lol
run: | run: |
haxe -version haxe -version

View File

@ -44,14 +44,6 @@ jobs:
actions: write actions: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Restore/create existing haxelib cache for faster downloads
uses: actions/cache@v3
id: cache-haxelib-windows
with:
# wha?
key: cache-haxelib-windows-${{ hashFiles('**/hmm.json')}}
path: |
.haxelib/
- uses: ./.github/actions/setup-haxeshit - uses: ./.github/actions/setup-haxeshit
- name: Build game - name: Build game
run: | run: |