Run apt update before install packages, for every job
@@ -48,7 +48,7 @@ jobs:
uses: actions/checkout@v2.4.0
- name: Install libusb
- run: sudo apt install -y libusb-1.0-0-dev libftdi1-dev libudev-dev
+ run: sudo apt update && sudo apt install -y libusb-1.0-0-dev libftdi1-dev libudev-dev
- name: Install stable toolchain
uses: actions-rs/toolchain@v1.0.7
@@ -91,7 +91,7 @@ jobs:
uses: actions/checkout@v2.4.0
- name: Install libusb
- run: sudo apt install -y libusb-1.0-0-dev libftdi1-dev libudev-dev
+ run: sudo apt update && sudo apt install -y libusb-1.0-0-dev libftdi1-dev libudev-dev
- name: Install stable toolchain
uses: actions-rs/toolchain@v1.0.7
