From 567efd8e17d8872c5b464aa82791468ced2ecf63 Mon Sep 17 00:00:00 2001 From: Dev Aggarwal Date: Wed, 26 Jun 2024 17:33:07 +0530 Subject: [PATCH] remove apt cache, doesnt work --- .github/workflows/python-tests.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index de660ad3d..d88f68262 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -49,15 +49,18 @@ jobs: EOF - name: Restart postgres run: >- - docker restart postgres && while ! docker exec postgres pg_isready; do sleep 5; done - - - uses: actions/checkout@v4 + docker restart postgres + && while ! docker exec postgres pg_isready; do sleep 5; done - name: Install system dependencies - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: libpoppler-cpp-dev python3-opencv postgresql-client libzbar0 - version: 1.0 + run: >- + sudo apt-get update && sudo apt-get install -y --no-install-recommends + libpoppler-cpp-dev + python3-opencv + postgresql-client + libzbar0 + + - uses: actions/checkout@v4 - name: Setup Python, Poetry and Dependencies uses: packetcoders/action-setup-cache-python-poetry@main