Skip to content

Commit

Permalink
Update test_real_hardware.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeqingSun committed Nov 1, 2024
1 parent 20c6faf commit df8366e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test_real_hardware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:
- name: Install Ch55xduino board
run: arduino-cli core --config-dir "$RUNNER_TEMP/arduino_config" install CH55xDuino:mcs51

# - name: get core version and copy package from repo to arduino-cli location
# run: |
# CH55XDUINO_VER=$(arduino-cli core list | grep 'CH55xDuino:mcs51' | awk '{print $2}')
# echo "CH55xDuino:mcs51 version: $CH55XDUINO_VER"
- name: get core version and copy package from repo to arduino-cli location
run: |
CH55XDUINO_VER=$(arduino-cli core list | grep 'CH55xDuino:mcs51' | awk '{print $2}')
echo "CH55xDuino:mcs51 version: $CH55XDUINO_VER"
ls -l $RUNNER_TEMP/arduino_config/packages/CH55xDuino/hardware/mcs51/
# cp -rf $GITHUB_WORKSPACE/ch55xduino/ch55x/* $HOME/.arduino15/packages/CH55xDuino/hardware/mcs51/$CH55XDUINO_VER/

# - name: build all with python script
Expand Down

0 comments on commit df8366e

Please sign in to comment.