From 77b184aa60b70f701ee23e98f72d5d4ee34cf8d1 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jul 2024 00:43:28 +0100 Subject: [PATCH] Fix? --- .github/workflows/docker-build-test-upload.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build-test-upload.yml b/.github/workflows/docker-build-test-upload.yml index 2eb20d549..00fd618ec 100644 --- a/.github/workflows/docker-build-test-upload.yml +++ b/.github/workflows/docker-build-test-upload.yml @@ -85,8 +85,13 @@ jobs: # as is the case for PRs from forks. Hence this super-ugly ternary expression... # For forks, we take the image as ghcr.io/aiidalab/qe:pr-XXX # which is stored in the steps.meta.outputs.tags variable - QE_IMAGE: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork && steps.meta.outputs.tags || format({}@{}, - env.IMAGE, steps.build-upload.outputs.imageid) }} + QE_IMAGE: > + ${{ + github.event_name == 'pull_request' && + github.event.pull_request.head.repo.fork && + steps.meta.outputs.tags || + format('{}@{}', env.IMAGE, steps.build-upload.outputs.imageid) + }} - name: Upload screenshots as artifacts if: always()