Skip to content

Commit

Permalink
fix comment, expand on failure check, set u:g on build tar file
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L Arnold <[email protected]>
  • Loading branch information
sarnold committed Nov 5, 2024
1 parent 1c249ed commit 23865c8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,19 @@ echo "ROOTFS is: ${rootfs_tarball}"

CMD="./RootStock-NG.sh -c ${target_config}"
echo "CMD is: ${CMD}"
#$CMD
[[ -f deploy/${rootfs_tarball} ]] && ${archive} deploy/${rootfs_tarball}
echo ""

./RootStock-NG.sh -c ${target_config}

source .project
if [ ! -f ./deploy/${export_filename}.tar ] ; then
echo "Error: deploy/${export_filename}.tar"
exit 1
else
echo "Compressing: deploy/${export_filename}.tar"
sudo chown $(id -u):$(id -g) ./deploy/${export_filename}.tar || true
${archive} ./deploy/${export_filename}.tar
fi

if ((failures != 0)); then
echo "Something went wrong !!!"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Build image
run: |
./.github/ci_build.sh ${{ matrix.dist }} ${{ matrix.suite }}
ls -lh deploy/*.tar.xz
ls -lh deploy/
- name: Upload image
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 23865c8

Please sign in to comment.