Skip to content

Commit bbb786c

Browse files
committed
try to fix arduino CI
uses multiple artifacts to up/download delta reports reverts back to Arduino CLI v0.33.0 as there is still problems with latest when installing ATTinyCore
1 parent 14aadde commit bbb786c

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/arduino_size_deltas.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ jobs:
1515
- name: Download sketches reports artifact
1616
uses: actions/download-artifact@v4
1717
with:
18-
name: ${{ inputs.reports-path }}
19-
path: ${{ inputs.reports-path }}
18+
pattern: arduino-deltas-*
19+
path: .ci-artifacts
20+
21+
- run: |-
22+
mkdir ${{inputs.reports-path }}
23+
mv .ci-artifacts/**.json ${{ inputs.reports-path }}
2024
2125
- uses: arduino/report-size-deltas@v1
2226
with:

.github/workflows/build_arduino.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,17 @@ jobs:
7373
steps:
7474
- name: Checkout
7575
uses: actions/checkout@v4
76+
77+
- name: sketch reports
78+
if: inputs.enable-deltas-report
79+
id: delta-report-name
80+
run: >-
81+
echo "report-name=${{ inputs.fqbn }}" | tr : - >> "$GITHUB_OUTPUT"
7682
7783
- name: Compile examples
7884
uses: arduino/compile-sketches@main
7985
with:
80-
# cli-version: '0.35.0'
86+
cli-version: '0.33.0'
8187
sketch-paths: ${{ inputs.sketch-paths }}
8288
fqbn: ${{ inputs.fqbn }}
8389
libraries: ${{ inputs.libraries }}
@@ -90,5 +96,5 @@ jobs:
9096
if: ${{ inputs.enable-deltas-report }}
9197
uses: actions/upload-artifact@v4
9298
with:
93-
name: ${{ inputs.reports-path }}
99+
name: arduino-deltas-${{ steps.delta-report-name.outputs.report-name }}
94100
path: ${{ inputs.reports-path }}

0 commit comments

Comments
 (0)