From 2b7c3b9cbef4f53b8e26ce12d406b01778df87cd Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Fri, 20 Oct 2023 11:36:35 +0100 Subject: [PATCH] ci(pytest): fix by using scalar over literal syntax --- .github/workflows/r-pytest.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/r-pytest.yml b/.github/workflows/r-pytest.yml index 355c2bb5c6..611d8ea6b8 100644 --- a/.github/workflows/r-pytest.yml +++ b/.github/workflows/r-pytest.yml @@ -26,8 +26,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - id: download-images - name: Download image cache + - name: Download Image Cache + id: download-images uses: actions/download-artifact@v3 with: name: image-cache @@ -67,12 +67,13 @@ jobs: -- wait-for-it central:8383 --strict --timeout=30 \ -- pytest - cache-images: + # This stage only runs if the images were not found in the cache + upload-img-cache: needs: [run-pytest] if: ${{ needs.run-pytest.outputs.img_cache_loaded != true}} uses: hotosm/gh-workflows/.github/workflows/image_cache.yml@main with: - image_names: | + image_names: > docker.io/postgis/postgis:${{ vars.POSTGIS_TAG }} ghcr.io/hotosm/fmtm/odkcentral:${{ vars.ODK_CENTRAL_TAG }} ghcr.io/hotosm/fmtm/odkcentral-proxy:${{ vars.ODK_CENTRAL_TAG }}