Skip to content

Commit ca78c8d

Browse files
authored
Merge pull request #2498 from pyth-network/cprussin/fix-install-libusb
fix: fix installing libusb in github actions
2 parents aa8a022 + 4dc4168 commit ca78c8d

File tree

6 files changed

+9
-6
lines changed

6 files changed

+9
-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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
pull_request:
77
paths:
88
- lazer/**
9+
- .github/workflows/ci-lazer-solana-contract.yml
910

1011
jobs:
1112
lazer-solana-contract-test:
@@ -28,7 +29,7 @@ jobs:
2829
# install will fail if this isn't in the build environment and if a
2930
# precompiled binary isn't found.
3031
- name: Install libusb
31-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
32+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
3233
- uses: pnpm/action-setup@v4
3334
name: Install pnpm
3435
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- "**/package.json"
1010
- "**/package-lock.json"
1111
- "**/tsconfig.json"
12+
- .github/workflows/ci-turbo-build.yml
1213
push:
1314
branches: [main]
1415
jobs:
@@ -24,7 +25,7 @@ jobs:
2425
# install will fail if this isn't in the build environment and if a
2526
# precompiled binary isn't found.
2627
- name: Install libusb
27-
run: sudo apt install -y libusb-1.0-0-dev libudev-dev
28+
run: sudo apt-get update && sudo apt-get install -y libusb-1.0-0-dev libudev-dev
2829
- uses: pnpm/action-setup@v4
2930
name: Install pnpm
3031
with:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- "**/package.json"
1010
- "**/package-lock.json"
1111
- "**/tsconfig.json"
12+
- .github/workflows/ci-turbo-test.yml
1213
push:
1314
branches: [main]
1415
jobs:
@@ -23,7 +24,7 @@ jobs:
2324
# install will fail if this isn't in the build environment and if a
2425
# precompiled binary isn't found.
2526
- name: Install libusb
26-
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
2728
- uses: pnpm/action-setup@v4
2829
name: Install pnpm
2930
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)