Skip to content

Commit f7213a7

Browse files
committed
Install libusb earlier
1 parent ab035ce commit f7213a7

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/actions/deps/external/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ runs:
5050
echo >> $GITHUB_PATH "$PATH"
5151
shell: bash
5252

53-
- name: Get libusb
54-
if: inputs.port == 'zephyr-cp'
55-
run: |
56-
sudo apt-get update
57-
sudo apt-get install -y libusb-1.0-0-dev
58-
shell: bash
59-
6053
# common
6154
- name: Cache python dependencies
6255
if: inputs.port != 'espressif' && inputs.port != 'zephyr-cp'

.github/actions/deps/ports/zephyr-cp/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Fetch Zephyr port deps
33
runs:
44
using: composite
55
steps:
6+
- name: Get libusb
7+
run: |
8+
sudo apt-get update
9+
sudo apt-get install -y libusb-1.0-0-dev
10+
shell: bash
611
- name: Setup Zephyr project
712
uses: zephyrproject-rtos/action-zephyr-setup@v1
813
with:

0 commit comments

Comments
 (0)