ci: Remove non-functional cache steps
This commit is contained in:
parent
d85aaabe9e
commit
9e0530839d
1 changed files with 0 additions and 24 deletions
|
@ -122,30 +122,6 @@ jobs:
|
||||||
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
|
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
|
||||||
- name: Get Git commit timestamps
|
- name: Get Git commit timestamps
|
||||||
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
|
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
|
||||||
- name: Rust cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
key: v0-rust-linux/${{ runner.os }}-${{ matrix.slug }}
|
|
||||||
path: |
|
|
||||||
~/.cargo/registry
|
|
||||||
~/.cargo/git/db
|
|
||||||
./target
|
|
||||||
id: rust-cache
|
|
||||||
- name: Cache timelord state
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: "./timelord"
|
|
||||||
key: ${{ runner.os }}-${{ matrix.slug }}
|
|
||||||
- name: Inject cache into Docker
|
|
||||||
uses: https://github.com/reproducible-containers/buildkit-cache-dance@v3.1.2
|
|
||||||
with:
|
|
||||||
cache-map: |
|
|
||||||
{
|
|
||||||
"/home/runner/.cargo/registry": "/usr/local/cargo/registry",
|
|
||||||
"/home/runner/.cargo/git/db": "/usr/local/cargo/git/db",
|
|
||||||
"./target": "/app/target",
|
|
||||||
"./timelord": "/timelord"
|
|
||||||
}
|
|
||||||
- name: Build and push Docker image by digest
|
- name: Build and push Docker image by digest
|
||||||
id: build
|
id: build
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue