Skip to content

Commit ca318ae

Browse files
committed
Merge branch 'ci/remove_target'
2 parents 0f19a2c + 5b212a1 commit ca318ae

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/wokwi.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,33 @@ jobs:
113113
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
114114
uses: wokwi/wokwi-ci-server-action@v1
115115

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+
116134
- name: Get binaries
117135
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
118-
uses: actions/cache/restore@v4
136+
uses: actions/download-artifact@v4
119137
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 }}
121141
path: |
122-
~/.arduino/tests/**/build*.tmp/*.bin
123-
~/.arduino/tests/**/build*.tmp/*.elf
124-
~/.arduino/tests/**/build*.tmp/*.json
142+
~/.arduino/tests
125143
126144
- name: Run Tests
127145
if: ${{ steps.check-tests.outputs.enabled == 'true' }}

0 commit comments

Comments
 (0)