Skip to content

Commit

Permalink
ci: use ${{ runner.temp }} instead of /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed May 31, 2024
1 parent 531eb72 commit 8bebd47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/compile-sketches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bebd47

Please sign in to comment.