Skip to content

Commit 7fe109d

Browse files
committed
Final fix both GH action scripts
1 parent a9f43c4 commit 7fe109d

2 files changed

Lines changed: 1 addition & 40 deletions

File tree

.github/workflows/arduino-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Run Arduino Lint
3030
uses: arduino/arduino-lint-action@v2
3131
with:
32-
library-manager: skip
32+
library-manager: false
3333
compliance: strict
3434

3535
- name: Check lint results

.github/workflows/compile-examples.yml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -71,42 +71,3 @@ jobs:
7171
run: |
7272
arduino-cli compile -b "${{ matrix.fqbn }}" --board-options "PartitionScheme=huge_app" --library "$PWD" examples/03.Applications/Cap_WiFi_App/ -v
7373
arduino-cli compile -b "${{ matrix.fqbn }}" --board-options "PartitionScheme=huge_app" --library "$PWD" examples/03.Applications/OX_WiFi_App/ -v
74-
75-
- name: Save sketches report
76-
if: always()
77-
uses: actions/upload-artifact@v4
78-
with:
79-
name: sketches-report-${{ matrix.fqbn }}
80-
path: ${{ env.SKETCHES_REPORTS_PATH }}
81-
retention-days: 30
82-
83-
compile-summary:
84-
name: Compile summary
85-
runs-on: ubuntu-latest
86-
needs: compile
87-
if: always()
88-
89-
steps:
90-
- name: Download all reports
91-
uses: actions/download-artifact@v4
92-
with:
93-
path: all-reports
94-
95-
- name: Summary
96-
run: |
97-
echo "## Compilation Summary" >> $GITHUB_STEP_SUMMARY
98-
echo "" >> $GITHUB_STEP_SUMMARY
99-
100-
# Count successful compilations
101-
SUCCESS_COUNT=$(find all-reports -name "*.md" -exec grep -l "✓" {} \; | wc -l)
102-
echo "✓ Successfully compiled sketches: $SUCCESS_COUNT" >> $GITHUB_STEP_SUMMARY
103-
echo "" >> $GITHUB_STEP_SUMMARY
104-
105-
# Display compilation details
106-
if [ -d "all-reports" ]; then
107-
echo "### Board FQBNs Tested:" >> $GITHUB_STEP_SUMMARY
108-
ls -1 all-reports/ | grep sketches-report | sed 's/sketches-report-/- /' | sed 's/:/%3A/g' | sed 's/%3A/:/g' >> $GITHUB_STEP_SUMMARY
109-
echo "" >> $GITHUB_STEP_SUMMARY
110-
fi
111-
112-
echo "Detailed reports are available in the Artifacts section." >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)