From 6b0d92932142aae71f9681f30e9a6f02f46e1cda Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Wed, 15 May 2024 02:22:52 +0200 Subject: [PATCH] update automatically --- .github/workflows/buildMe.yml | 6 ------ build.sh | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/buildMe.yml b/.github/workflows/buildMe.yml index 30ece16..cb4fb49 100644 --- a/.github/workflows/buildMe.yml +++ b/.github/workflows/buildMe.yml @@ -69,11 +69,5 @@ jobs: run: sudo apt-get install -y unzip tree curl git qemu qemu-user-static binfmt-support - name: debug run: sudo touch /host-is-here - - name: update - run: | - sudo git clone https://github.com/OpenHD/OpenHD-ImageBuilder - sudo mv OpenHD-ImageBuilder/images . - sudo mv OpenHD-ImageBuilder/stages/01-Baseimage stages/ - sudo rm -Rf OpenHD-ImageBuilder - name: configure run: sudo bash build.sh ${{ matrix.TARGET }} ${{ matrix.TESTING }} \ No newline at end of file diff --git a/build.sh b/build.sh index 0f4faab..52986e7 100644 --- a/build.sh +++ b/build.sh @@ -4,6 +4,12 @@ IMAGE_TYPE=$1 TESTING=$2 +#UPDATE to newest version +git clone https://github.com/OpenHD/OpenHD-ImageBuilder +mv OpenHD-ImageBuilder/images . +mv OpenHD-ImageBuilder/stages/01-Baseimage stages/ +rm -Rf OpenHD-ImageBuilder + if [[ "${IMAGE_TYPE}" == "" ]]; then echo "Usage: ./build.sh pi-bullseye" echo ""