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