aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4f47465..e6178c2 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,8 +27,15 @@ jobs:
run: |
west twister -T app -v --inline-logs --integration
- - name: Test
- run: ls > test.txt
+ - name: Prepare Release
+ if: startsWith(github.ref, 'refs/tags/')
+ run: |
+ mv lumen-sdk/twister-out/lumen/app.default/zephyr/merged.hex \
+ merged_${{ GITHUB_REF_NAME }}_${{ GITHUB_SHA }}.hex
+ mv lumen-sdk/twister-out/lumen/app.default/zephyr/app_update.bin \
+ app_update_${{ GITHUB_REF_NAME }}_${{ GITHUB_SHA }}.bin
+ ls -al > test.txt
+
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')