Compare commits

...
Author SHA1 Message Date
timedout 1ec708b79d fix: disable some cache looking things 2026-08-12 14:42:50 +01:00
2 changed files with 30 additions and 30 deletions

No files matched your search

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