Ver Fonte

use caches from changer

Frank Haverland há 3 anos atrás
pai
commit
5e93f1e8bd
1 ficheiros alterados com 7 adições e 0 exclusões
  1. 7 0
      .github/workflows/build.yaml

+ 7 - 0
.github/workflows/build.yaml

@@ -240,6 +240,13 @@ jobs:
             ./code/.pio/build/esp32cam/partitions.bin
             ./code/.pio/build/esp32cam/partitions.bin
             ./code/.pio/build/esp32cam/bootloader.bin
             ./code/.pio/build/esp32cam/bootloader.bin
             ./sd-card/html/version.txt
             ./sd-card/html/version.txt
+          key: ${{ github.run_number }}
+
+      # import the changes from 
+      - name: Get generated files from cache
+        uses: actions/cache@v3
+        with:
+          path: |
              ./dist
              ./dist
           key: ${{ github.run_number }}-pack-for-OTA-v2
           key: ${{ github.run_number }}-pack-for-OTA-v2