8000 CI: unique upload names given immutability · python-control/Slycot@c47b63f · GitHub
[go: up one dir, main page]

Skip to content

Commit c47b63f

Browse files
slivingstonbnavigator
authored andcommitted

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/slycot-build-and-test.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ jobs:
128128
- name: Save wheel
129129
uses: actions/upload-artifact@v4
130130
with:
131-
name: slycot-wheels
131+
name: slycot-wheels-${{ matrix.os }}-${{ matrix.python }}-${{ matrix.bla_vendor }}
132132
path: slycot-wheels
133+
retention-days: 5
133134

134135
build-conda:
135136
name: Build conda, ${{ matrix.os }}
@@ -178,8 +179,9 @@ jobs:
178179
- name: Save to local conda pkg channel
179180
uses: actions/upload-artifact@v4
180181
with:
181-
name: slycot-conda-pkgs
182+
name: slycot-conda-pkgs-${{ matrix.os }}-${{ matrix.python }}
182183
path: slycot-conda-pkgs
184+
retention-days: 5
183185

184186
create-wheel-test-matrix:
185187
name: Create wheel test matrix
@@ -189,6 +191,11 @@ jobs:
189191
outputs:
190192
matrix: ${{ steps.set-matrix.outputs.matrix }}
191193
steps:
194+
- name: Merge artifacts
195+
uses: actions/upload-artifact/merge@v4
196+
with:
197+
name: slycot-wheels
198+
pattern: slycot-wheels-*
192199
- name: Checkout Slycot
193200
uses: actions/checkout@v3
194201
- name: Download wheels (if any)
@@ -207,6 +214,11 @@ jobs:
207214
outputs:
208215
matrix: ${{ steps.set-matrix.outputs.matrix }}
209216
steps:
217+
- name: Merge artifacts
218+
uses: actions/upload-artifact/merge@v4
219+
with:
220+
name: slycot-conda-pkgs
221+
pattern: slycot-conda-pkgs-*
210222
- name: Checkout Slycot
211223
uses: actions/checkout@v3
212224
- name: Download conda packages

0 commit comments

Comments
 (0)
0