Skip to content

Commit

Permalink
ci: handle zip of artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Jul 17, 2024
1 parent 0ceb35e commit 8171203
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,13 @@ jobs:
uses: actions/download-artifact@v4
with:
path: ./artifacts
merge-multiple: false

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

0 comments on commit 8171203

Please sign in to comment.