Skip to content

Commit

Permalink
Remove extra /bin/ in picotool path for Win/Mac (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower authored Nov 21, 2023
1 parent fb4d23a commit 122f0b6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,12 @@ jobs:
# Package
mkdir /tmp/picotool
mkdir /tmp/picotool/bin
cp -a /usr/local/Cellar/hidapi/*/lib/*.dylib /tmp/picotool/bin/.
cp -a /usr/local/Cellar/libusb/*/lib/*.dylib /tmp/picotool/bin/.
cp -a /usr/local/Cellar/capstone/*/lib/*.dylib /tmp/picotool/bin/.
cp -a picotool /tmp/picotool/bin/.
cp -a ../LICENSE.TXT /tmp/picotool/bin/.
cp -a ../README.md /tmp/picotool/bin/.
cp -a /usr/local/Cellar/hidapi/*/lib/*.dylib /tmp/picotool/.
cp -a /usr/local/Cellar/libusb/*/lib/*.dylib /tmp/picotool/.
cp -a /usr/local/Cellar/capstone/*/lib/*.dylib /tmp/picotool/.
cp -a picotool /tmp/picotool/.
cp -a ../LICENSE.TXT /tmp/picotool/.
cp -a ../README.md /tmp/picotool/.
tar cvf ../../picotool.macos.tar -C /tmp picotool
- name: Upload Picotool
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ jobs:
# Package
mkdir /tmp/picotool
mkdir /tmp/picotool/bin
cp /mingw*/bin/libhidapi*.dll /tmp/picotool/bin/.
cp /mingw*/bin/libusb*.dll /tmp/picotool/bin/.
cp -a picotool.exe /tmp/picotool/bin/.
cp -a ../LICENSE.TXT /tmp/picotool/bin/.
cp -a ../README.md /tmp/picotool/bin/.
cp /mingw*/bin/libhidapi*.dll /tmp/picotool/.
cp /mingw*/bin/libusb*.dll /tmp/picotool/.
cp -a picotool.exe /tmp/picotool/.
cp -a ../LICENSE.TXT /tmp/picotool/.
cp -a ../README.md /tmp/picotool/.
tar cvf ../../picotool.${{matrix.env}}.tar -C /tmp picotool
- name: Upload Picotool ${{matrix.env}}
Expand Down

0 comments on commit 122f0b6

Please sign in to comment.