Skip to content

Commit aba6ac8

Browse files
committed
ci/package_core: fix multi-artifact core upload
Switch to a loop to upload all matching core tarballs to S3. Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
1 parent 376102a commit aba6ac8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/package_core.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,10 @@ jobs:
261261
aws-region: ${{ secrets.AWS_REGION }}
262262

263263
- name: Upload artifact
264-
run: aws s3 cp ArduinoCore-*.tar.bz2 s3://${{ secrets.S3_BUCKET }}/
264+
run: |
265+
for f in ArduinoCore-*.tar.bz2 ; do
266+
aws s3 cp $f s3://${{ secrets.S3_BUCKET }}/
267+
done
265268
266269
publish-json:
267270
name: Publish jsons

0 commit comments

Comments
 (0)