From 8bebd473c9ed588068cd72fa6da32ed26d76ba39 Mon Sep 17 00:00:00 2001 From: Felix Erdmann Date: Fri, 31 May 2024 15:00:48 +0200 Subject: [PATCH] ci: use ${{ runner.temp }} instead of /tmp --- .github/workflows/compile-sketches.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compile-sketches.yml b/.github/workflows/compile-sketches.yml index cba5952..70bf9da 100644 --- a/.github/workflows/compile-sketches.yml +++ b/.github/workflows/compile-sketches.yml @@ -93,10 +93,10 @@ jobs: echo "Processing sketch path: $sketch_path" # replace ./ with nothing clean_sketch_path=${sketch_path//.\//} - python3 lzss.py --encode $sketch_path/$sketch_path.ino.bin /tmp/$clean_sketch_path.ino.lzss - echo "LZSS file created: /tmp/$clean_sketch_path.ino.lzss" - python3 bin2ota.py ESP /tmp/$clean_sketch_path.ino.lzss /tmp/$clean_sketch_path.ino.ota - echo "OTA file created: /tmp/$clean_sketch_path.ino.ota" + python3 lzss.py --encode $sketch_path/$sketch_path.ino.bin ${{ runner.temp }}/$clean_sketch_path.ino.lzss + echo "LZSS file created: ${{ runner.temp }}/$clean_sketch_path.ino.lzss" + python3 bin2ota.py ESP ${{ runner.temp }}/$clean_sketch_path.ino.lzss ${{ runner.temp }}/$clean_sketch_path.ino.ota + echo "OTA file created: ${{ runner.temp }}/$clean_sketch_path.ino.ota" fi done