summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2022-02-12 08:24:45 +0100
committerLars-Dominik Braun <lars@6xq.net>2022-02-12 08:24:45 +0100
commit0ca408ee2f38daf86413531cca7ca0eaf3a17d7b (patch)
tree62aca74d965a277ea2c3677d16a965d95a90ddd6
parent64f10c268ccb4213a3d1a18c18df1a350f163b2f (diff)
downloadpianobar-0ca408ee2f38daf86413531cca7ca0eaf3a17d7b.tar.gz
pianobar-0ca408ee2f38daf86413531cca7ca0eaf3a17d7b.tar.bz2
pianobar-0ca408ee2f38daf86413531cca7ca0eaf3a17d7b.zip
workflows: Always `apt update` before installing dependencies
As suggested by the official documentation.
-rw-r--r--.github/workflows/build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9b61ea6..69aeefd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -13,8 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: deps
- run: sudo apt install libao-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-gnutls-dev libgcrypt20-dev libjson-c-dev libpth-dev pkg-config build-essential
- - name: make
+ - name: Install dependencies
+ run: |
+ sudo apt-get update
+ sudo apt install libao-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-gnutls-dev libgcrypt20-dev libjson-c-dev libpth-dev pkg-config build-essential
+ - name: Build pianobar
run: make