Skip to content

Commit d918140

Browse files
committed
ci: rename artifact before upload
1 parent 8171203 commit d918140

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,12 @@ jobs:
7272
path: ./artifacts
7373
merge-multiple: false
7474

75-
- name: Upload Release Assets
75+
- name: Rename and Upload Release Assets
7676
run: |
7777
for file in ./artifacts/*/combined.bin; do
7878
base_name=$(basename $(dirname "$file"))
79-
gh release upload ${{ needs.create-release.outputs.upload_url }} "$file" --clobber --name "graphical_bootloader_${base_name}.bin"
79+
mv "$file" "./artifacts/graphical_bootloader_${base_name}.bin"
80+
gh release upload ${{ needs.create-release.outputs.upload_url }} "./artifacts/graphical_bootloader_${base_name}.bin" --clobber
8081
done
8182
env:
8283
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)