Skip to content

Commit b5dd233

Browse files
committed
path corrected
1 parent ecd637d commit b5dd233

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/Run_RPS_AppKit-E8.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,24 @@ jobs:
4040
path: ./RockPaperScissors/AppKit-E8_USB/out
4141

4242
- name: Start the SDSIO server on the Raspberry Pi
43-
working-directory: ./RockPaperScissors/AppKit-E8_USB/out
43+
working-directory: ./RockPaperScissors/AppKit-E8_USB
4444
run: |
4545
if ! pgrep -f "sdsio-server.py usb" > /dev/null; then
46-
nohup python ~/SDS-Framework/utilities/sdsio-server.py --control SDS.sdsio.yml > ~/SDS-Framework/utilities/sdsio-server.log 2>&1 &
46+
nohup python ~/../../SDS-Framework/utilities/sdsio-server.py --control SDS.sdsio.yml > ./sdsio-server.log 2>&1 &
4747
sleep 2
4848
fi
4949
pgrep -f "sdsio-server.py usb"
50-
tail -n 20 ~/SDS-Framework/utilities/sdsio-server.log || true
50+
tail -n 20 ./sdsio-server.log || true
5151
5252
- name: Flash using pyOCD
53-
working-directory: ./RockPaperScissors/AppKit-E8_USB/out
53+
working-directory: ./RockPaperScissors/AppKit-E8_USB
5454
run: |
55-
pyocd load --uid L96807771A --cbuild-run SDS+AppKit-E8-U85.cbuild-run.yml
55+
pyocd load --uid L96807771A --cbuild-run ./out/SDS+AppKit-E8-U85.cbuild-run.yml
5656
5757
- name: Run using pyOCD
58-
working-directory: ./RockPaperScissors/AppKit-E8_USB/out
58+
working-directory: ./RockPaperScissors/AppKit-E8_USB
5959
run: |
60-
pyocd run --uid L96807771A --cbuild-run SDS+AppKit-E8-U85.cbuild-run.yml -O reset_type=hardware --timelimit 10
60+
pyocd run --uid L96807771A --cbuild-run ./out/SDS+AppKit-E8-U85.cbuild-run.yml -O reset_type=hardware --timelimit 10
6161
6262
- name: Stop the SDSIO server on the Raspberry Pi
6363
run: |
@@ -70,5 +70,6 @@ jobs:
7070
fi
7171
7272
- name: Show content of the sdsio-server.log file
73+
working-directory: ./RockPaperScissors/AppKit-E8_USB
7374
run: |
74-
cat ~/SDS-Framework/utilities/sdsio-server.log
75+
cat ./sdsio-server.log

0 commit comments

Comments
 (0)