mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 22:19:10 +00:00
use git-restore-mtime-action
This commit is contained in:
parent
03e07bfe4b
commit
98a9ee37ad
1 changed files with 8 additions and 1 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -23,6 +23,12 @@ jobs:
|
||||||
mode: ["", tiny, rel, tinylinux, optlinux]
|
mode: ["", tiny, rel, tinylinux, optlinux]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
# Full checkout needed for git-restore-mtime-bare.
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
# TODO(jart): fork this action.
|
||||||
|
- uses: chetan/git-restore-mtime-action@v2
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
@ -32,8 +38,9 @@ jobs:
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: o
|
path: o
|
||||||
key: o-${{ matrix.mode }}-${{ env.COSMOCC_VERSION }}
|
key: o-${{ matrix.mode }}-${{ env.COSMOCC_VERSION }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
o-${{ matrix.mode }}-${{ env.COSMOCC_VERSION }}-
|
||||||
o-${{ matrix.mode }}-
|
o-${{ matrix.mode }}-
|
||||||
o-
|
o-
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue