Update apt package info before installing packages
@@ -25,7 +25,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
# Only install on Ubuntu
if: matrix.os == 'ubuntu-latest'
