From b11cf16d9cdf5772d898e76ff63e3f9789c14f00 Mon Sep 17 00:00:00 2001 From: mesheets <16882600+mesheets@users.noreply.github.com> Date: Sat, 27 Jul 2024 11:36:57 -0400 Subject: [PATCH] Update the CI action to bundle firmware and programs in archive --- .github/workflows/brickOS-bibo_CI.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/brickOS-bibo_CI.yml b/.github/workflows/brickOS-bibo_CI.yml index df4dea4..9f7c749 100644 --- a/.github/workflows/brickOS-bibo_CI.yml +++ b/.github/workflows/brickOS-bibo_CI.yml @@ -43,6 +43,9 @@ jobs: name: brickOS-bibo_install_[runner~${{ matrix.os }}]_run${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }} path: build/install.tar + - name: Prepare the firmware and program images for archiving + run: cp --preserve kernel/*.srec kernel/*.coff demo/ + - name: Archive the firmware image uses: actions/upload-artifact@v4 with: @@ -54,7 +57,9 @@ jobs: - name: Archive the demo program files uses: actions/upload-artifact@v4 with: - name: brickOS-bibo_programs_[runner~${{ matrix.os }}]_run${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }} + name: brickOS-bibo_firmware+programs_[runner~${{ matrix.os }}]_run${{ github.run_id }}.${{ github.run_number }}.${{ github.run_attempt }} path: | + demo/**/*.srec + demo/**/*.coff demo/**/*.lx demo/**/*.a