From de5a0caf9b9ae02e4a90618748cbb46a66189b11 Mon Sep 17 00:00:00 2001 From: Edoardo Morassutto Date: Tue, 14 Dec 2021 14:42:21 +0100 Subject: [PATCH] Fix CI (#1199) * Fix CI * Use apt-get instead of apt > WARNING: apt does not have a stable CLI interface. Use with caution in scripts. --- .github/workflows/main.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d327feca9..4556f3797 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,22 +31,23 @@ jobs: python-version: 3.8 - name: Install dependencies - run: >- - sudo apt install -y - build-essential - php7.4-cli - haskell-platform - fp-compiler - python2.7 - cppreference-doc-en-html - cgroup-lite - libcap-dev - python-dev - libpq-dev - libcups2-dev - libyaml-dev - rustc - mono-mcs + run: | + sudo apt-get update -y + sudo apt-get install -y \ + build-essential \ + php7.4-cli \ + haskell-platform \ + fp-compiler \ + python2.7 \ + cppreference-doc-en-html \ + cgroup-lite \ + libcap-dev \ + python-dev \ + libpq-dev \ + libcups2-dev \ + libyaml-dev \ + rustc \ + mono-mcs - name: Install requirements run: |