Skip to content

Commit

Permalink
chore: Github Actions: collect artifacts
Browse files Browse the repository at this point in the history
Collect the tmp/deploy/image directories from the
board builds for further archiving and testing.

Signed-off-by: Josef Holzmayr <[email protected]>
  • Loading branch information
TheYoctoJester committed Oct 14, 2024
1 parent a86950d commit 42c8933
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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 }}

0 comments on commit 42c8933

Please sign in to comment.