Skip to content

Commit

Permalink
update automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 15, 2024
1 parent 11ea6f8 commit 6b0d929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/buildMe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 6b0d929

Please sign in to comment.