From c724cecf57ccd8957a9d79202a61adaf3948dfa0 Mon Sep 17 00:00:00 2001
From: Georg Gadinger <nilsding@nilsding.org>
Date: Fri, 8 May 2020 15:54:43 +0200
Subject: [PATCH] refresh repositories before installing dependencies

---
 .github/workflows/retrospring.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/retrospring.yml b/.github/workflows/retrospring.yml
index b1ee1108..f6f1e23f 100644
--- a/.github/workflows/retrospring.yml
+++ b/.github/workflows/retrospring.yml
@@ -47,7 +47,7 @@ jobs:
         with:
           ruby-version: 2.7.x
       - name: Install dependencies
-        run: sudo apt-get install -y libpq-dev libxml2-dev libxslt1-dev libmagickwand-dev imagemagick
+        run: sudo apt update && sudo apt-get install -y libpq-dev libxml2-dev libxslt1-dev libmagickwand-dev imagemagick
       - name: Copy default configuration
         run: |
           cp config/database.yml.postgres config/database.yml