From 14203cb6765af16393de48b07a200fa143ab2ed0 Mon Sep 17 00:00:00 2001 From: Victor Chavez <47216966+vChavezB@users.noreply.github.com> Date: Fri, 12 Apr 2024 21:02:40 +0200 Subject: [PATCH 1/2] Update build.yml --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e5ab21..9ed48d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,13 @@ jobs: run: | west build $GITHUB_WORKSPACE/test/renode/uptime_central -b $BOARD --build-dir $GITHUB_WORKSPACE/build_central + - name : Upload Firmware + uses: actions/upload-artifact@v4 + with: + path: | + build_uptime/zephyr/zephyr.elf + build_central/zephyr/zephyr.elf + From e6ed2cd9a3dcd944a78455ad234b4a63aa7794cf Mon Sep 17 00:00:00 2001 From: Victor Chavez <47216966+vChavezB@users.noreply.github.com> Date: Fri, 12 Apr 2024 21:08:49 +0200 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9ed48d0..c7a9518 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,19 +25,19 @@ jobs: - name: Build Uptime Sample working-directory: /tmp/ run: | - west build $GITHUB_WORKSPACE/samples/uptime -b $BOARD --build-dir $GITHUB_WORKSPACE/build_uptime + west build $GITHUB_WORKSPACE/samples/uptime -b $BOARD --build-dir $GITHUB_WORKSPACE/samples/uptime/build - name: Build Central working-directory: /tmp/ run: | - west build $GITHUB_WORKSPACE/test/renode/uptime_central -b $BOARD --build-dir $GITHUB_WORKSPACE/build_central + west build $GITHUB_WORKSPACE/test/renode/uptime_central -b $BOARD --build-dir $GITHUB_WORKSPACE/test/renode/uptime_central/build - name : Upload Firmware uses: actions/upload-artifact@v4 with: path: | - build_uptime/zephyr/zephyr.elf - build_central/zephyr/zephyr.elf + samples/uptime/build/zephyr/zephyr.elf + test/renode/uptime_central/build/zephyr/zephyr.elf