# HG changeset patch
# User Edouard Tisserant <edouard.tisserant@gmail.com>
# Date 1689886032 -7200
# Node ID 2596dabeea047eac9c76f063009ae2020a0ab9e3
# Parent  c7cc292bb82e957df28ee7b3cab73a1ec23556ab
Github CI: do not save docker image if  just restored from cache

diff -r c7cc292bb82e -r 2596dabeea04 .github/workflows/run_tests_in_docker.yml
--- a/.github/workflows/run_tests_in_docker.yml	Thu Jul 20 22:42:39 2023 +0200
+++ b/.github/workflows/run_tests_in_docker.yml	Thu Jul 20 22:47:12 2023 +0200
@@ -44,7 +44,8 @@
         ./build_docker_image.sh
         docker image save --output="/tmp/latest.tar" beremiz_sikuli
 
-    - name: Save docker image in cache
+    - if: ${{ steps.cache-docker-restore.outputs.cache-hit == false }}
+      name: Save docker image in cache
       id: cache-docker-save
       uses: actions/cache/save@v3
       with: