From 0fae65ae2d24d92e43401f911181c5154b4e5677 Mon Sep 17 00:00:00 2001 From: Martin Bond <28291143+martinbond7@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:20:25 +0000 Subject: [PATCH] Corrected action to build dataloger template and solutions --- .github/workflows/build-host.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-host.yaml b/.github/workflows/build-host.yaml index 20a9dc2..767abd3 100644 --- a/.github/workflows/build-host.yaml +++ b/.github/workflows/build-host.yaml @@ -13,9 +13,15 @@ jobs: - name: checkout uses: actions/checkout@v4 with: - sparse-checkout: solutions - fetch-depth: 1 - - name: build + sparse-checkout: exercises + fetch-depth: 1 + - name: build datalogger template + run: | + cp -r /home/feabhas/projects/cmake-host . + cp -r exercises/templates/datalogger/* cmake-host + cd cmake-host + bash ./build.sh + - name: build solutions run: | cp -r /home/feabhas/projects/cmake-host . cd cmake-host