Skip to content

Commit ad888dd

Browse files
authored
Update build_sw.yml
1 parent 17c67b5 commit ad888dd

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/build_sw.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ jobs:
3030

3131
- name: Get sdk and add PICO_SDK_PATH
3232
run: cd /tmp && git clone https://github.com/raspberrypi/pico-sdk.git && echo "PICO_SDK_PATH=/tmp/pico-sdk" >> $GITHUB_ENV
33-
34-
- name: ls
35-
run: ls
36-
37-
- name: ls2
38-
run: ls ${{github.workspace}}
39-
40-
- name: ls2
41-
run: ls ${{github.workspace}}/Software
4233

4334
- name: Configure CMake
4435
# 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:
4839
- name: Build
4940
# Build your program with the given configuration
5041
run: cmake --build ${{github.workspace}}/Software/build --config ${{env.BUILD_TYPE}}
42+
43+
- name: ls2
44+
run: ls ${{github.workspace}}/Software/build
45+
46+
- name: Upload build files as artifact
47+
uses: actions/upload-artifact@v4
48+
with:
49+
name: build_files
50+
path: ${{github.workspace}}/Software/build
51+
5152
release:
5253
runs-on: ubuntu-latest
54+
needs: build
5355
steps:
5456
- name: Checkout
5557
uses: actions/checkout@v4

0 commit comments

Comments
 (0)