From 722616f46dc5171cf8bbeaf8bdc8761c4109e680 Mon Sep 17 00:00:00 2001 From: llenotre Date: Sun, 9 Jun 2024 16:48:23 +0200 Subject: [PATCH] ci: cache built disk --- .github/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ea24b7..6f3e217 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,5 @@ name: "Build integration tests image" -on: [push] +on: [push, workflow_call] jobs: build: runs-on: [self-hosted, linux] @@ -14,4 +14,12 @@ jobs: needs: build steps: - name: Check format - run: cargo fmt --check \ No newline at end of file + run: cargo fmt --check + cache: + runs-on: [self-hosted, linux] + needs: build + steps: + - uses: actions/cache@v4 + with: + path: disk + key: integration-tests