From ad888dd4a0edb70464763399c03384377a57075b Mon Sep 17 00:00:00 2001 From: Gabriel Koppenstein <82903393+gab-k@users.noreply.github.com> Date: Thu, 2 Jan 2025 08:27:07 +0100 Subject: [PATCH] Update build_sw.yml --- .github/workflows/build_sw.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_sw.yml b/.github/workflows/build_sw.yml index 81522e9..5da8d1f 100644 --- a/.github/workflows/build_sw.yml +++ b/.github/workflows/build_sw.yml @@ -30,15 +30,6 @@ jobs: - name: Get sdk and add PICO_SDK_PATH run: cd /tmp && git clone https://github.com/raspberrypi/pico-sdk.git && echo "PICO_SDK_PATH=/tmp/pico-sdk" >> $GITHUB_ENV - - - name: ls - run: ls - - - name: ls2 - run: ls ${{github.workspace}} - - - name: ls2 - run: ls ${{github.workspace}}/Software - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. @@ -48,8 +39,19 @@ jobs: - name: Build # Build your program with the given configuration run: cmake --build ${{github.workspace}}/Software/build --config ${{env.BUILD_TYPE}} + + - name: ls2 + run: ls ${{github.workspace}}/Software/build + + - name: Upload build files as artifact + uses: actions/upload-artifact@v4 + with: + name: build_files + path: ${{github.workspace}}/Software/build + release: runs-on: ubuntu-latest + needs: build steps: - name: Checkout uses: actions/checkout@v4