Skip to content

Commit

Permalink
upload binaries to github page
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 20, 2024
1 parent 638b9ed commit 5005163
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
- name: build docs
run: docker run -v $PWD:/code tbd_docs

- name: fetch builds
uses: actions/download-artifact@v4
with:
path: /build/docs/html/downloads
pattern: tbd_firmware_*
merge-multiple: true

- name: upload static web content
id: deployment
uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
run: ls -1 tools/docker/build.Dockerfile && docker build -t tbd_firmware -f tools/docker/build.Dockerfile $PWD

- name: build firmware
run: docker run -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure build
run: docker run -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin

- name: upload firmware
uses: actions/upload-artifact@v4
with:
name: tbd_firmware_${{ inputs.tbd-platform }}
path: |
build/${{ inputs.tbd-platform }}/ctag-tbd.elf
build/${{ inputs.tbd-platform }}/tbd-${{ inputs.tbd-platform }}-flash.bin
overwrite: true

0 comments on commit 5005163

Please sign in to comment.