File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ jobs:
183183 merge-multiple : true
184184
185185 - run : |
186- ARTIFACTS=$(jq -cr 'map(.artifact) | unique | .[]' <<< ${ALL_BOARD_DATA})
186+ ARTIFACTS=$(jq -cr 'map(.artifact) | unique | .[]' <<< ${ALL_BOARD_DATA}) # this avoids the 'zephyr' artifact
187187 for artifact in $ARTIFACTS ; do
188188 echo "### \`$artifact\` test results:" >> "$GITHUB_STEP_SUMMARY"
189189 jq -c "map(select(.artifact == \"$artifact\")) | .[]" <<< ${ALL_BOARD_DATA} | while read -r BOARD_DATA; do
@@ -280,19 +280,17 @@ jobs:
280280 with :
281281 fetch-depth : 0
282282 persist-credentials : false
283- sparse-checkout : |
284- extra/gen_package_index_json.sh
285- extra/artifacts/
283+ fetch-tags : true
286284
287285 - uses : actions/download-artifact@v4
288286 with :
289287 name : ${{ env.ALL_CORES_ARTIFACT }}
290288
291289 - name : Prepare package index snippets
292290 run : |
293- for artifact in $( jq -cr '.[]' <<< ${ARTIFACTS}) ; do
294- ARTIFACT_FILE=ArduinoCore-${artifact}-${CORE_HASH}.tar.bz2
295- PACKAGE_JSON=ArduinoCore-${artifact}-${CORE_TAG}.json
291+ jq -cr '.[]' <<< ${ARTIFACTS} | while read -r artifact ; do
292+ ARTIFACT_FILE=ArduinoCore-${artifact}-${CORE_HASH}.tar.bz2
293+ PACKAGE_JSON=ArduinoCore-${artifact}-${CORE_TAG}.json
296294 ./extra/gen_package_index_json.sh ${artifact} ${CORE_TAG} ${ARTIFACT_FILE} > ${PACKAGE_JSON}
297295 done
298296
You can’t perform that action at this time.
0 commit comments