Skip to content

Commit

Permalink
🔨 chore: Update build process
Browse files Browse the repository at this point in the history
- Add installer binary to build process
- Update OSS upload to include installer dir
  • Loading branch information
Cp0204 committed Jul 31, 2024
1 parent 59cacba commit dd5ac39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-belease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:
# Create release binary
cp build/cubefx.bin "CubeFX_flash_${{ steps.get_ver.outputs.ver }}.bin"
cp build/cubefx.ino.bin "CubeFX_ota_${{ steps.get_ver.outputs.ver }}.bin"
# Create installer binary
cp build/cubefx.bin "installer/firmware/cubefx.bin"
# Delete intermediate files
find ./build -type f ! -name "*.bin" -delete
Expand Down Expand Up @@ -119,6 +121,4 @@ jobs:
endpoint: ${{ secrets.OSS_ENDPOINT }}
bucket: ${{ secrets.OSS_BUCKET }}
assets: |
build/cubefx.bin:cubefx/firmware/cubefx.bin
installer/index.html:cubefx/index.html
installer/manifest/**:cubefx/manifest/
installer/**:cubefx/

0 comments on commit dd5ac39

Please sign in to comment.