Skip to content

Commit 7af707b

Browse files
committed
fix: fix installing libusb in github actions
1 parent aa8a022 commit 7af707b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/ci-ethereum-contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# install will fail if this isn't in the build environment and if a
2828
# precompiled binary isn't found.
2929
- name: Install libusb
30-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
30+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
3131

3232
- uses: pnpm/action-setup@v4
3333
name: Install pnpm

.github/workflows/ci-lazer-solana-contract.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# install will fail if this isn't in the build environment and if a
2929
# precompiled binary isn't found.
3030
- name: Install libusb
31-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
31+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
3232
- uses: pnpm/action-setup@v4
3333
name: Install pnpm
3434
with:

.github/workflows/ci-message-buffer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# install will fail if this isn't in the build environment and if a
4646
# precompiled binary isn't found.
4747
- name: Install libusb
48-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
48+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
4949
- uses: pnpm/action-setup@v4
5050
name: Install pnpm
5151
with:

.github/workflows/ci-turbo-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# install will fail if this isn't in the build environment and if a
2525
# precompiled binary isn't found.
2626
- name: Install libusb
27-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
27+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
2828
- uses: pnpm/action-setup@v4
2929
name: Install pnpm
3030
with:

.github/workflows/ci-turbo-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# install will fail if this isn't in the build environment and if a
2424
# precompiled binary isn't found.
2525
- name: Install libusb
26-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
26+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
2727
- uses: pnpm/action-setup@v4
2828
name: Install pnpm
2929
with:

.github/workflows/publish-js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# install will fail if this isn't in the build environment and if a
1818
# precompiled binary isn't found.
1919
- name: Install libusb
20-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
20+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
2121
- uses: pnpm/action-setup@v4
2222
name: Install pnpm
2323
with:

0 commit comments

Comments
 (0)