fix: disable some cache looking things

This commit is contained in:
timedout committed 2026-08-12 14:42:50 +01:00
1 parent 08d3d8445f
commit 1ec708b79d
2 files changed
+30 -30

No files matched your search

+29 -29
View File
@@ -29,14 +29,14 @@ runs:
echo "TIMELORD_CACHE_PATH=$HOME/.cache/timelord" >> $GITHUB_ENV
echo "PATH=$HOME/.cargo/bin:/usr/share/rust/.cargo/bin:$PATH" >> $GITHUB_ENV
- name: Restore binary cache
id: binary-cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: |
/usr/share/rust/.cargo/bin
~/.cargo/bin
key: continuwuity-timelord-binaries
# - name: Restore binary cache
# id: binary-cache
# uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
# with:
# path: |
# /usr/share/rust/.cargo/bin
# ~/.cargo/bin
# key: continuwuity-timelord-binaries
- name: Check if binaries need installation
shell: bash
@@ -75,24 +75,24 @@ runs:
with:
tool: git-warp-time,timelord-cli@3.0.1
- name: Save binary cache
if: steps.check-binaries.outputs.need-install == 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: |
/usr/share/rust/.cargo/bin
~/.cargo/bin
key: continuwuity-timelord-binaries
# - name: Save binary cache
# if: steps.check-binaries.outputs.need-install == 'true'
# uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
# with:
# path: |
# /usr/share/rust/.cargo/bin
# ~/.cargo/bin
# key: continuwuity-timelord-binaries
- name: Restore timelord cache with fallbacks
id: timelord-restore
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ${{ env.TIMELORD_CACHE_PATH }}
key: ${{ env.TIMELORD_KEY }}
restore-keys: |
continuwuity-timelord-${{ github.repository }}-
# - name: Restore timelord cache with fallbacks
# id: timelord-restore
# uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
# with:
# path: ${{ env.TIMELORD_CACHE_PATH }}
# key: ${{ env.TIMELORD_KEY }}
# restore-keys: |
# continuwuity-timelord-${{ github.repository }}-
- name: Initialize timestamps on complete cache miss
if: steps.timelord-restore.outputs.cache-hit != 'true'
@@ -113,8 +113,8 @@ runs:
mkdir -p ${{ env.TIMELORD_CACHE_PATH }}
timelord sync --source-dir ${{ env.TIMELORD_PATH }} --cache-dir ${{ env.TIMELORD_CACHE_PATH }}
- name: Save updated timelord cache immediately
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: ${{ env.TIMELORD_CACHE_PATH }}
key: ${{ env.TIMELORD_KEY }}
# - name: Save updated timelord cache immediately
# uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
# with:
# path: ${{ env.TIMELORD_CACHE_PATH }}
# key: ${{ env.TIMELORD_KEY }}
+1 -1
View File
@@ -78,7 +78,7 @@ jobs:
platforms: ${{ matrix.platform }}
labels: ${{ steps.prepare.outputs.metadata_labels }}
annotations: ${{ steps.prepare.outputs.metadata_annotations }}
cache-from: type=gha
# cache-from: type=gha
# cache-to: type=gha,mode=max
sbom: true
outputs: |