From 42c8933403927cdbca344bbf39ffae0bb1dec175 Mon Sep 17 00:00:00 2001 From: Josef Holzmayr Date: Mon, 14 Oct 2024 12:29:09 +0000 Subject: [PATCH] chore: Github Actions: collect artifacts Collect the tmp/deploy/image directories from the board builds for further archiving and testing. Signed-off-by: Josef Holzmayr --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 726dc12a..7f1d520c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,8 @@ jobs: run: ./ci/update-repos env: LAYERCACHE: ${{ vars.PERSISTENT_DIR }}/layers + - name: create artifact output directory + run: mkdir -p $BUILDDIR/artifacts build: needs: [prepare] @@ -98,3 +100,6 @@ jobs: cp ${{ vars.BUILD_ASSETS_DIR }}/site.conf build/conf/site.conf; fi && kas build ../../kas/${{ matrix.subpath }}/${{ matrix.board }}.yml + - name: collect artifacts + run: cp -fR $BUILDDIR/${{ matrix.board }}/build/tmp/deploy/images $BUILDDIR/artifacts/images-${{ matrix.board }} +