1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-04 13:54:22 +00:00

cache stuff

This commit is contained in:
Cameron Taylor 2023-02-09 05:57:53 -05:00 committed by GitHub
parent 317bb96ca0
commit 2f05e06b92

View file

@ -46,7 +46,8 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup-haxeshit - uses: ./.github/actions/setup-haxeshit
- name: Restore existing build cache for faster compilation - name: Restore existing build cache for faster compilation
uses: actions/cache@v3 uses: actions/cache/restore@v3
id: cache-windows-shit
with: with:
# wha? # wha?
key: cache-build-win key: cache-build-win
@ -54,8 +55,6 @@ jobs:
.haxelib/ .haxelib/
export/debug/windows/haxe/ export/debug/windows/haxe/
export/debug/windows/obj/ export/debug/windows/obj/
restore-keys: |
cache-build-mac
- name: Build game - name: Build game
run: | run: |
npx lix lime build windows -debug --times npx lix lime build windows -debug --times
@ -66,12 +65,10 @@ jobs:
build-dir: export/debug/windows/bin build-dir: export/debug/windows/bin
target: win target: win
- name: Uploading new cache - name: Uploading new cache
uses: actions/cache@v3 uses: actions/cache/save@v3
with: with:
key: cache-build-win key: ${{ steps.cache-windows-shit.outputs.cache-primary-key }}
path: | path: |
.haxelib/ .haxelib/
export/debug/macos/haxe/ export/debug/windows/haxe/
export/debug/macos/obj/ export/debug/windows/obj/
restore-keys: |
cache-build-debug