From d62b2f85c84b4986b2192bfd08f56a1301423449 Mon Sep 17 00:00:00 2001 From: John Dorman <427295+boostchicken@users.noreply.github.com> Date: Thu, 23 Mar 2023 04:10:16 -0700 Subject: [PATCH] Update podman-udmp-udmse.yml --- .github/workflows/podman-udmp-udmse.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/podman-udmp-udmse.yml b/.github/workflows/podman-udmp-udmse.yml index 125fb87..be92e19 100644 --- a/.github/workflows/podman-udmp-udmse.yml +++ b/.github/workflows/podman-udmp-udmse.yml @@ -18,11 +18,19 @@ jobs: runs-on: ubuntu-latest steps: + - name: Cache + uses: actions/cache@v2.1.8 + with: + # A list of files, directories, and wildcard patterns to cache and restore + path: ~/.cargo/ + # An explicit key for restoring and saving the cache + key: rust + - uses: actions/checkout@v3 - name: Docker Setup QEMU uses: docker/setup-qemu-action@v2 - name: Build the Docker image - run: docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro-SE --tag boostchicken:udm-podman podman-update/build/ + run: docker build --file podman-update/build/Dockerfile --build-arg UDM_PLATFORM=UDM-Pro-SE --tag boostchicken:udm-podman -v ~/.cargo/:~/.cargo podman-update/build/ - name: Docker Extract id: extract uses: boostchicken-dev/actions-docker-extract@v3