Update build_sw.yml
This commit is contained in:
1 parent
17c67b5ba8
commit
ad888dd4a0
1 file changed
+11
-9
@@ -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
|
||||
|
||||
Reference in new issue
Block a user