File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -113,15 +113,33 @@ jobs:
113
113
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
114
114
uses : wokwi/wokwi-ci-server-action@v1
115
115
116
+ # - name: Download and Extract Artifacts
117
+ # run: |
118
+ # artifacts_url=${{ github.event.workflow_run.artifacts_url }}
119
+ # gh api "$artifacts_url" -q '.artifacts[] | [.name, .archive_download_url] | @tsv' | while read artifact
120
+ # do
121
+ # IFS=$'\t' read name url <<< "$artifact"
122
+ # gh api $url > "$name.zip"
123
+ # unzip -j "$name.zip" -d "temp_$name"
124
+ # if [[ "$name" == "pr_number" ]]; then
125
+ # mv "temp_$name"/* workflows
126
+ # else
127
+ # mv "temp_$name"/* libraries-report
128
+ # fi
129
+ # rm -r "temp_$name"
130
+ # done
131
+ # echo "Contents of parent directory:"
132
+ # ls -R ..
133
+
116
134
- name : Get binaries
117
135
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
118
- uses : actions/cache/restore @v4
136
+ uses : actions/download-artifact @v4
119
137
with :
120
- key : tests-${{ env.id }}-bin
138
+ github-token : ${{ secrets.GITHUB_TOKEN }}
139
+ run-id : ${{ github.event.workflow_run.id }}
140
+ name : tests-bin-${{ matrix.chip }}-${{ matrix.type }}
121
141
path : |
122
- ~/.arduino/tests/**/build*.tmp/*.bin
123
- ~/.arduino/tests/**/build*.tmp/*.elf
124
- ~/.arduino/tests/**/build*.tmp/*.json
142
+ ~/.arduino/tests
125
143
126
144
- name : Run Tests
127
145
if : ${{ steps.check-tests.outputs.enabled == 'true' }}
You can’t perform that action at this time.
0 commit comments