Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
protocentralashwin committed Nov 19, 2023
1 parent 5af2ea7 commit ba61982
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,28 @@ jobs:
west init -l .
west update -o=--depth=1 -n
- name: Build base firmware
working-directory: healthypi5_zephyr
run: |
west build -p auto -b healthypi5_rp2040 app
mv build/zephyr/zephyr.uf2 healthypi5_base.uf2
- name: Build display firmware
working-directory: healthypi5_zephyr
run: |
west build -t pristine
west build -p auto -b healthypi5_rp2040 app -DEXTRA_CONF_FILE=overlay-display.conf
mv build/zephyr/zephyr.uf2 healthypi5_zephyr_display.uf2
mv build/zephyr/zephyr.uf2 healthypi5_display.uf2
- name: Build BLE firmware
working-directory: healthypi5_zephyr
run: |
west build -t pristine
west build -p auto -b healthypi5_rp2040 app -DEXTRA_CONF_FILE=overlay-bt.conf
mv build/zephyr/zephyr.uf2 healthypi5_ble.uf2
- name: Upload release asset
- name: Upload release assets
uses: ncipollo/release-action@v1
with:
artifacts: "healthypi5_zephyr/healthypi5_zephyr_display.uf2"
artifacts: "healthypi5_zephyr/*.uf2"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ba61982

Please sign in to comment.