Skip to content

Commit ad3bc56

Browse files
committed
1 try
. msg Signed-off-by: Dhruva Gole <[email protected]>
1 parent 39495d5 commit ad3bc56

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: Build test
22

33
on: [push, pull_request]
44

@@ -9,11 +9,6 @@ jobs:
99
env:
1010
CMAKE_PREFIX_PATH: /opt/toolchains
1111
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
with:
15-
path: Arduino-Zephyr-API
16-
1712
- name: Initialize
1813
working-directory: Arduino-Zephyr-API
1914
run: |
@@ -24,6 +19,14 @@ jobs:
2419
mv ArduinoCore-API/api/tmpArduinoAPI.h ArduinoCore-API/api/ArduinoAPI.h
2520
cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
2621
22+
- name: Checkout
23+
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.event.pull_request.head.sha }}
26+
fetch-depth: 0
27+
persist-credentials: false
28+
path: modules/lib/Arduino-Zephyr-API
29+
2730
- name: Build fade
2831
working-directory: Arduino-Zephyr-API
2932
run: |

0 commit comments

Comments
 (0)