Skip to content

Commit 8171203

Browse files
committed
ci: handle zip of artifacts
1 parent 0ceb35e commit 8171203

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,13 @@ jobs:
7070
uses: actions/download-artifact@v4
7171
with:
7272
path: ./artifacts
73+
merge-multiple: false
7374

7475
- name: Upload Release Assets
7576
run: |
76-
echo "Listing files"
77-
find artifacts
78-
echo "Enf of list"
79-
for file in ./artifacts/*; do
80-
gh release upload ${{ needs.create-release.outputs.upload_url }} "$file" --clobber
77+
for file in ./artifacts/*/combined.bin; do
78+
base_name=$(basename $(dirname "$file"))
79+
gh release upload ${{ needs.create-release.outputs.upload_url }} "$file" --clobber --name "graphical_bootloader_${base_name}.bin"
8180
done
8281
env:
8382
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)