From 2f05e06b92c36de9b1a0365624d4e8ed8b87e568 Mon Sep 17 00:00:00 2001 From: Cameron Taylor Date: Thu, 9 Feb 2023 05:57:53 -0500 Subject: [PATCH] cache stuff --- .github/workflows/build-shit.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-shit.yml b/.github/workflows/build-shit.yml index a33f4dfd5..a54f5d76f 100644 --- a/.github/workflows/build-shit.yml +++ b/.github/workflows/build-shit.yml @@ -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/