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 }}