aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rinkel <[email protected]>2023-10-27 18:14:59 +0200
committerLeon Rinkel <[email protected]>2023-10-27 18:14:59 +0200
commitbab9f10c79111414c37b7040f3d281347c360232 (patch)
treefbcfeaea60b3a6648931ba7128472e733049b089
parente014f2a8cd73d8cb73dfd7f3ae5a3558fdea985a (diff)
Play with GitHub actionsv0.1.2
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--.github/workflows/release.yml38
-rw-r--r--app/VERSION2
3 files changed, 9 insertions, 39 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fd07f14..4f47465 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,3 +26,11 @@ jobs:
working-directory: lumen-sdk
run: |
west twister -T app -v --inline-logs --integration
+
+ - name: Test
+ run: ls > test.txt
+ - name: Release
+ uses: softprops/action-gh-release@v1
+ if: startsWith(github.ref, 'refs/tags/')
+ with:
+ files: test.txt
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 32a899c..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: Release
-
-on:
- push:
- tags:
- - "v*.*.*"
-
-jobs:
- build:
- runs-on: ubuntu-22.04
- container: ghcr.io/zephyrproject-rtos/ci:v0.26.2
- env:
- CMAKE_PREFIX_PATH: /opt/toolchains
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- with:
- path: lumen-sdk
-
- - name: Initialize
- working-directory: lumen-sdk
- run: |
- west init -l .
- west update -o=--depth=1 -n
-
- - name: Build firmware
- working-directory: lumen-sdk
- run: |
- west twister -T app -v --inline-logs --integration
-
- - name: Release
- uses: softprops/action-gh-release@v1
- with:
- files: |
- lumen-sdk/twister-out/lumen/app.debug/zephyr/app_update.bin
- lumen-sdk/twister-out/lumen/app.debug/zephyr/merged.hex
- lumen-sdk/twister-out/lumen/app.default/zephyr/app_update.bin
- lumen-sdk/twister-out/lumen/app.default/zephyr/merged.hex
diff --git a/app/VERSION b/app/VERSION
index 51fb542..cf2ceb6 100644
--- a/app/VERSION
+++ b/app/VERSION
@@ -1,5 +1,5 @@
VERSION_MAJOR = 0
VERSION_MINOR = 1
-PATCHLEVEL = 1
+PATCHLEVEL = 2
VERSION_TWEAK = 0
EXTRAVERSION =