Split apt-get update and install in separate steps

Yaml isn't really suited to writing shell scripts :-/
This commit is contained in:
Joachim Nilsson 2019-12-16 11:11:42 +01:00 committed by GitHub
parent ce4a3c1f0a
commit 722a77857f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Update packagage cache ...
run: sudo apt-get update
- name: Install build dependencies ... - name: Install build dependencies ...
run: run: sudo apt-get -y install tree tshark
- sudo apt-get update
- sudo apt-get -y install tree tshark
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Generate and run configure script ... - name: Generate and run configure script ...
run: ./autogen.sh && ./configure run: ./autogen.sh && ./configure