We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6769704 commit e62bb96Copy full SHA for e62bb96
.github/workflows/compile-examples.yml
@@ -181,8 +181,14 @@ jobs:
181
repository: arduino/ArduinoCore-API
182
path: extras/ArduinoCore-API
183
184
+ - name: Check if API should be compiled in the core
185
+ id: checkapi
186
+ run: |
187
+ if [[ $(grep -r api platform.txt) ]]; then echo "::set-output name=IS_API::true"; fi
188
+
189
- name: Install ArduinoCore-API
190
run: mv "$GITHUB_WORKSPACE/extras/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
191
+ if: steps.checkapi.outputs.IS_API == 'true'
192
193
- name: Checkout Basic examples
194
uses: actions/checkout@v2
0 commit comments