Skip to content

Commit 1e42e0c

Browse files
committed
rename artifacts
1 parent afdcb98 commit 1e42e0c

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.github/workflows/tests_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Upload ${{ inputs.chip }} ${{ inputs.type }} binaries as artifacts
8282
uses: actions/upload-artifact@v4
8383
with:
84-
name: tests-bin-${{ inputs.chip }}-${{ inputs.type }}
84+
name: tests_bin_${{ inputs.chip }}_${{ inputs.type }}
8585
overwrite: true
8686
path: |
8787
~/.arduino/tests/**/build*.tmp/*.bin

.github/workflows/tests_hw.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
8080
uses: actions/download-artifact@v4
8181
with:
82-
name: tests-bin-${{ inputs.chip }}-${{ inputs.type }}
82+
name: tests_bin_${{ inputs.chip }}_${{ inputs.type }}
8383
path: |
8484
~/.arduino/tests
8585
@@ -106,7 +106,7 @@ jobs:
106106
uses: actions/upload-artifact@v4
107107
if: always()
108108
with:
109-
name: tests-results-hw-${{ inputs.chip }}-${{ inputs.type }}
109+
name: tests_results_hw_${{ inputs.chip }}_${{ inputs.type }}
110110
overwrite: true
111111
path: |
112112
tests/**/*.xml

.github/workflows/tests_qemu.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
116116
uses: actions/download-artifact@v4
117117
with:
118-
name: tests-bin-${{ inputs.chip }}-${{ inputs.type }}
118+
name: tests_bin_${{ inputs.chip }}_${{ inputs.type }}
119119
path: |
120120
~/.arduino/tests
121121
@@ -136,7 +136,7 @@ jobs:
136136
uses: actions/upload-artifact@v4
137137
if: always()
138138
with:
139-
name: tests-results-qemu-${{ inputs.chip }}-${{ inputs.type }}
139+
name: tests_results_qemu_${{ inputs.chip }}_${{ inputs.type }}
140140
overwrite: true
141141
path: |
142142
tests/**/*.xml

.github/workflows/tests_results.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636

3737
- name: Get original info
3838
run: |
39-
original_event=$(cat ./artifacts/parent-artifacts/event.txt)
40-
original_action=$(cat ./artifacts/parent-artifacts/action.txt)
41-
original_sha=$(cat ./artifacts/parent-artifacts/sha.txt)
42-
original_ref=$(cat ./artifacts/parent-artifacts/ref.txt)
43-
original_conclusion=$(cat ./artifacts/parent-artifacts/conclusion.txt)
44-
original_run_id=$(cat ./artifacts/parent-artifacts/run_id.txt)
39+
original_event=$(cat ./artifacts/parent_artifacts/event.txt)
40+
original_action=$(cat ./artifacts/parent_artifacts/action.txt)
41+
original_sha=$(cat ./artifacts/parent_artifacts/sha.txt)
42+
original_ref=$(cat ./artifacts/parent_artifacts/ref.txt)
43+
original_conclusion=$(cat ./artifacts/parent_artifacts/conclusion.txt)
44+
original_run_id=$(cat ./artifacts/parent_artifacts/run_id.txt)
4545
4646
# Sanitize the values to avoid security issues
4747
@@ -86,7 +86,7 @@ jobs:
8686
uses: EnricoMi/publish-unit-test-result-action@v2
8787
with:
8888
commit: ${{ env.original_sha }}
89-
event_file: ./artifacts/parent-artifacts/event_file/event.json
89+
event_file: ./artifacts/parent_artifacts/event_file/event.json
9090
event_name: ${{ env.original_event }}
9191
files: ./artifacts/**/*.xml
9292
action_fail: true

.github/workflows/tests_wokwi.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
with:
136136
github-token: ${{ secrets.GITHUB_TOKEN }}
137137
run-id: ${{ github.event.workflow_run.id }}
138-
pattern: tests-results-hw-*
138+
pattern: tests_results_hw_*
139139
merge-multiple: true
140140
path: artifacts/results/hw
141141

@@ -145,14 +145,14 @@ jobs:
145145
with:
146146
github-token: ${{ secrets.GITHUB_TOKEN }}
147147
run-id: ${{ github.event.workflow_run.id }}
148-
pattern: tests-results-qemu-*
148+
pattern: tests_results_qemu_*
149149
merge-multiple: true
150150
path: artifacts/results/qemu
151151

152152
- name: Upload parent artifacts
153153
uses: actions/upload-artifact@v4
154154
with:
155-
name: parent-artifacts
155+
name: parent_artifacts
156156
path: artifacts
157157
if-no-files-found: error
158158

@@ -274,7 +274,7 @@ jobs:
274274
with:
275275
github-token: ${{ secrets.GITHUB_TOKEN }}
276276
run-id: ${{ github.event.workflow_run.id }}
277-
name: tests-bin-${{ matrix.chip }}-${{ matrix.type }}
277+
name: tests_bin_${{ matrix.chip }}_${{ matrix.type }}
278278
path: |
279279
~/.arduino/tests
280280
@@ -298,7 +298,7 @@ jobs:
298298
uses: actions/upload-artifact@v4
299299
if: always()
300300
with:
301-
name: tests-results-wokwi-${{ matrix.chip }}-${{ matrix.type }}
301+
name: tests_results_wokwi_${{ matrix.chip }}_${{ matrix.type }}
302302
overwrite: true
303303
path: |
304304
tests/**/*.xml

0 commit comments

Comments
 (0)