From 475758e4fecf059b557413eebb46b296f920a131 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 24 Apr 2024 15:39:49 -0400 Subject: [PATCH] Manual cache save --- .github/workflows/cmake-multi-platform.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 821ae69..3e68958 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -65,8 +65,8 @@ jobs: libwayland-dev \ - name: Cache Prefix - id: cache-prefix - uses: actions/cache@v4 + id: cache-prefix-restore + uses: actions/cache/restore@v4 with: path: ${{ steps.strings.outputs.prefix-dir }} key: ${{ runner.os }}-prefix @@ -255,6 +255,13 @@ jobs: git clone https://github.com/nothings/stb.git mv stb/* ${{ steps.strings.outputs.prefix-dir }}/include + - name: Save Prefix + id: cache-prefix]-save + uses: actions/cache/save@v4 + with: + path: ${{ steps.strings.outputs.prefix-dir }} + key: ${{ steps.cache-prefix-restore.outputs.cache-primary-key }} + - name: Configure run: > cmake -B ${{ steps.strings.outputs.build-output-dir }}