Always cache docker image + default windows target
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Thu, 05 Oct 2023 13:16:35 +0200
changeset 122 ef1c44f741e3
parent 121 9dd76a5bbc2a
child 123 032aaa29f498
Always cache docker image + default windows target
.github/workflows/build_bundles.yml
win32.mk
--- a/.github/workflows/build_bundles.yml	Thu Oct 05 11:32:53 2023 +0200
+++ b/.github/workflows/build_bundles.yml	Thu Oct 05 13:16:35 2023 +0200
@@ -39,6 +39,15 @@
         ./build_docker_image.sh
         docker image save --output="/tmp/latest.tar" beremiz_public_builder
 
+
+    - if: ${{ steps.cache-docker.outputs.cache-hit == false }}
+      name: Save docker image in cache
+      id: cache-docker-save
+      uses: actions/cache/save@v3
+      with:
+        path: /tmp/latest.tar
+        key: ${{ steps.cache-docker.outputs.cache-primary-key }}
+
     - if: ${{ steps.cache-docker.outputs.cache-hit != false }}
       name: Re-use docker image
       run: |
--- a/win32.mk	Thu Oct 05 11:32:53 2023 +0200
+++ b/win32.mk	Thu Oct 05 13:16:35 2023 +0200
@@ -1,6 +1,6 @@
 # Win32 only distribution
 
-main_target: Beremiz-windows-build
+main_target: Beremiz-nsis-installer.exe Beremiz-portable.zip
 
 include $(src)/windows_installer.mk