Skip to content

Commit 3eceb5e

Browse files
committed
update MCS51Tools as well
1 parent 3c9637b commit 3eceb5e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/checkSketches.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
CH55XDUINO_VER=$(arduino-cli core list | grep 'CH55xDuino:mcs51' | awk '{print $2}')
5151
echo "CH55xDuino:mcs51 version: $CH55XDUINO_VER"
5252
cp -rf $GITHUB_WORKSPACE/ch55xduino/ch55x/* $HOME/.arduino15/packages/CH55xDuino/hardware/mcs51/$CH55XDUINO_VER/
53+
MCS51TOOLS_DIR=$(find $HOME/.arduino15/packages/CH55xDuino/tools/MCS51Tools -mindepth 1 -maxdepth 1 -type d | head -1)
54+
echo "MCS51Tools path: $MCS51TOOLS_DIR"
55+
cp -f $GITHUB_WORKSPACE/ch55xduino/tools/wrapper/*.sh $MCS51TOOLS_DIR/wrapper/
56+
chmod +x $MCS51TOOLS_DIR/wrapper/*.sh
5357
5458
- name: build all with python script
5559
run: |

0 commit comments

Comments
 (0)