Skip to content

Commit 9761a6b

Browse files
committed
change upload artifacts paths: for some reason picotool wasn't found
1 parent 5c6c005 commit 9761a6b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
cd build
8888
cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compile }}-gcc -DCMAKE_CXX_COMPILER=${{ matrix.cross_compile }}-g++ -DLIBUSB_LIBRARIES=$LIBUSBUDEV -DLIBUSB_INCLUDE_DIR=$LIBUSB_DIR ..
8989
make
90+
mv picotool${{ matrix.extension }} /tmp/
9091
if: matrix.os != 'darwin'
9192

9293
- name: build picotool for macos
@@ -96,6 +97,7 @@ jobs:
9697
cd build
9798
cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cross_compiler }}++ -DCMAKE_CXX_FLAGS="-framework IOKit -framework Cocoa" -DLIBUSB_LIBRARIES=$LIBUSBUDEV -DLIBUSB_INCLUDE_DIR=$LIBUSB_DIR ..
9899
make
100+
mv picotool${{ matrix.extension }} /tmp/
99101
if: matrix.os == 'darwin'
100102

101103
- name: build elf2uf2
@@ -106,6 +108,7 @@ jobs:
106108
cd build
107109
cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compile }}-gcc -DCMAKE_CXX_COMPILER=${{ matrix.cross_compile }}-g++ ..
108110
make
111+
mv elf2uf2${{ matrix.extension }} /tmp/
109112
if: matrix.os != 'darwin'
110113

111114
- name: build elf2uf2 for macos
@@ -115,12 +118,13 @@ jobs:
115118
cd build
116119
cmake -DCMAKE_C_COMPILER=${{ matrix.cross_compiler }} -DCMAKE_CXX_COMPILER=${{ matrix.cross_compiler }}++ -DCMAKE_CXX_FLAGS="-framework IOKit -framework Cocoa" ..
117120
make
121+
mv elf2uf2${{ matrix.extension }} /tmp/
118122
if: matrix.os == 'darwin'
119123

120124
- name: upload artifacts
121125
uses: actions/upload-artifact@v2
122126
with:
123127
name: ${{matrix.os}}_${{matrix.arch}}
124128
path: |
125-
${{ github.workspace }}/pico-sdk/tools/elf2uf2/build/elf2uf2${{ matrix.extension }}
126-
${{ github.workspace }}/picotool/build/picotool${{ matrix.extension }}
129+
/tmp/elf2uf2${{ matrix.extension }}
130+
/tmp/picotool${{ matrix.extension }}

0 commit comments

Comments
 (0)