Skip to content

Commit 1224fc9

Browse files
committed
ci: reorder artifact upload order alphabetically
Signed-off-by: Younes Khoudli <[email protected]>
1 parent 653a3c2 commit 1224fc9

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/build.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -105,54 +105,54 @@ jobs:
105105
echo "All retries failed, exiting."
106106
exit 1
107107
108+
- name: Upload core artifact
109+
uses: actions/upload-artifact@v4
110+
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'core')
111+
with:
112+
name: core
113+
path: osrd-core.tar
108114
- name: Upload core-build artifact
109115
uses: actions/upload-artifact@v4
110116
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'core-build')
111117
with:
112118
name: core-build
113119
path: osrd-core-build.tar
114-
- name: Upload editoast-test artifact
115-
uses: actions/upload-artifact@v4
116-
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'editoast-test')
117-
with:
118-
name: editoast-test
119-
path: osrd-editoast-test.tar
120120
- name: Upload editoast artifact
121121
uses: actions/upload-artifact@v4
122122
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'editoast')
123123
with:
124124
name: editoast
125125
path: osrd-editoast.tar
126-
- name: Upload gateway-test artifact
127-
uses: actions/upload-artifact@v4
128-
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'gateway-test')
129-
with:
130-
name: gateway-test
131-
path: osrd-gateway-test.tar
132-
- name: Upload front-tests artifact
126+
- name: Upload editoast-test artifact
133127
uses: actions/upload-artifact@v4
134-
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'front-tests')
128+
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'editoast-test')
135129
with:
136-
name: front-tests
137-
path: osrd-front-tests.tar
130+
name: editoast-test
131+
path: osrd-editoast-test.tar
138132
- name: Upload front artifact
139133
uses: actions/upload-artifact@v4
140134
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'front-devel')
141135
with:
142136
name: front
143137
path: osrd-front.tar
144-
- name: Upload core artifact
138+
- name: Upload front-tests artifact
145139
uses: actions/upload-artifact@v4
146-
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'core')
140+
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'front-tests')
147141
with:
148-
name: core
149-
path: osrd-core.tar
142+
name: front-tests
143+
path: osrd-front-tests.tar
150144
- name: Upload gateway-standalone artifact
151145
uses: actions/upload-artifact@v4
152146
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'gateway-standalone')
153147
with:
154148
name: gateway-standalone
155149
path: osrd-gateway-standalone.tar
150+
- name: Upload gateway-test artifact
151+
uses: actions/upload-artifact@v4
152+
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'gateway-test')
153+
with:
154+
name: gateway-test
155+
path: osrd-gateway-test.tar
156156
- name: Upload osrdyne artifact
157157
uses: actions/upload-artifact@v4
158158
if: steps.bake-metadata.outputs.output_method == 'artifact' && contains(matrix.targets, 'osrdyne')

0 commit comments

Comments
 (0)