feat: add OpenW800 OTA .img file to relases

This commit is contained in:
TallTechDude
2022-07-23 04:44:19 +00:00
parent 39f7eaac36
commit 653e825a4a
3 changed files with 3 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ jobs:
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_${{ needs.refs.outputs.version }}.img
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_${{ needs.refs.outputs.version }}.bin
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_${{ needs.refs.outputs.version }}.fls
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_${{ needs.refs.outputs.version }}_ota.img
if-no-files-found: warn
release:

View File

@@ -78,7 +78,7 @@ publish:
- path: "output/**/*.rbl"
- path: "output/**/*.img"
- path: "output/**/OpenBL602*.bin"
- path: "output/**/OpenW800*.fls"
- path: "output/**/OpenW800*"
success:
- "@semantic-release/github"

View File

@@ -101,6 +101,7 @@ OpenW800: sdk/OpenW800/tools/w800/csky/bin sdk/OpenW800/sharedAppContainer/share
$(MAKE) -C sdk/OpenW800 EXTRA_CCFLAGS=-DPLATFORM_W800 CONFIG_W800_USE_LIB=n CONFIG_W800_TOOLCHAIN_PATH="$(shell realpath sdk/OpenW800/tools/w800/csky/bin)/"
mkdir -p output/$(APP_VERSION)
cp sdk/OpenW800/bin/w800/w800.fls output/$(APP_VERSION)/OpenW800_$(APP_VERSION).fls
cp sdk/OpenW800/bin/w800/w800_ota.img output/$(APP_VERSION)/OpenW800_$(APP_VERSION)_ota.img
# clean .o files and output directory
.PHONY: clean