Skip to content

Commit 9b3b197

Browse files
authored
Merge pull request #8 from as-iotex/feat
feat: fix arduino CI
2 parents 9889dd0 + 3a46110 commit 9b3b197

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/arduino-ci.yaml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,27 @@ jobs:
5252
enable-deltas-report: true
5353
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
5454

55+
# Add the report job to the workflow - commented out, needs fixed
5556
# This step is needed to pass the size data to the report job
56-
- name: Upload sketches report to workflow artifact
57-
uses: actions/upload-artifact@v2
58-
with:
59-
name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
60-
path: ${{ env.SKETCHES_REPORTS_PATH }}
57+
# - name: Upload sketches report to workflow artifact
58+
# uses: actions/upload-artifact@v2
59+
# with:
60+
# name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
61+
# path: ${{ env.SKETCHES_REPORTS_PATH }}
6162

6263
# When using a matrix to compile for multiple boards, it's necessary to use a separate job for the deltas report
63-
report:
64-
needs: compile # Wait for the compile job to finish to get the data for the report
65-
if: github.event_name == 'pull_request' # Only run the job when the workflow is triggered by a pull request
66-
runs-on: ubuntu-latest
67-
steps:
68-
# This step is needed to get the size data produced by the compile jobs
69-
- name: Download sketches reports artifact
70-
uses: actions/download-artifact@v2
71-
with:
72-
name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
73-
path: ${{ env.SKETCHES_REPORTS_PATH }}
64+
# report:
65+
# needs: compile # Wait for the compile job to finish to get the data for the report
66+
# if: github.event_name == 'pull_request' # Only run the job when the workflow is triggered by a pull request
67+
# runs-on: ubuntu-latest
68+
# steps:
69+
# # This step is needed to get the size data produced by the compile jobs
70+
# - name: Download sketches reports artifact
71+
# uses: actions/download-artifact@v2
72+
# with:
73+
# name: ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
74+
# path: ${{ env.SKETCHES_REPORTS_PATH }}
7475

75-
- uses: arduino/report-size-deltas@v1
76-
with:
77-
sketches-reports-source: ${{ env.SKETCHES_REPORTS_PATH }}
76+
# - uses: arduino/report-size-deltas@v1
77+
# with:
78+
# sketches-reports-source: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)