mirror of
https://github.com/encounter/dtk-template.git
synced 2025-10-05 08:49:39 +00:00
Add cache restore-keys to always update cache
NOTE: See 9408cb2cdc
zstd is added as a package to significantly improve cache update time.
This commit is contained in:
parent
aa98d34e96
commit
9d6a0399f5
@ -31,7 +31,9 @@ jobs:
|
|||||||
|
|
||||||
# Normalize file mod times
|
# Normalize file mod times
|
||||||
- name: Restore timestamps
|
- name: Restore timestamps
|
||||||
run: uv run https://raw.githubusercontent.com/MestreLion/git-tools/refs/tags/v2022.12/git-restore-mtime --merge --commit-time
|
run: |
|
||||||
|
uv run https://raw.githubusercontent.com/MestreLion/git-tools/refs/tags/v2022.12/git-restore-mtime \
|
||||||
|
--merge --commit-time
|
||||||
|
|
||||||
# Copy the original files to the workspace
|
# Copy the original files to the workspace
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
@ -45,7 +47,8 @@ jobs:
|
|||||||
build
|
build
|
||||||
.ninja_deps
|
.ninja_deps
|
||||||
.ninja_log
|
.ninja_log
|
||||||
key: ${{ runner.os }}-${{ matrix.version }}
|
key: ${{ runner.os }}-${{ matrix.version }}-${{ github.sha }}
|
||||||
|
restore-keys: ${{ runner.os }}-${{ matrix.version }}-
|
||||||
|
|
||||||
# Build the project
|
# Build the project
|
||||||
- name: Build
|
- name: Build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user