ci: break ubuntu pacakge into its own step.

This commit is contained in:
Richard Moore 2020-11-23 18:12:21 -05:00
parent 1f6646e131
commit 2cf462c571
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -25,12 +25,11 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Add Ubuntu package repo
run: sudo echo "deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted" > /etc/apt/sources.list && sudo cat /etc/apt/sources.list
- name: Install node-hid requirements - name: Install node-hid requirements
# run: sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libudev-dev run: sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libudev-dev
run: cat /etc/apt/sources.list
run: echo "" > /etc/apt/sources.list
run: echo "deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted" > /etc/apt/sources.list
run: cat /etc/apt/sources.list
- name: Install dependencies (and link per package) - name: Install dependencies (and link per package)
run: npm ci run: npm ci