From ecc5691bfc1dccacdccb04ab40185584396f32df Mon Sep 17 00:00:00 2001 From: Jon Buckley Date: Sat, 9 Nov 2024 14:08:32 -0500 Subject: [PATCH] fix(ci): Correct YAML multi-line string syntax --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 336f976..4ae80de 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,14 +34,14 @@ jobs: - name: Generate version.json shell: bash - run: \ + run: | printf '{"commit":"%s","version":"%s","source":"https://github.com/%s","build":"%s/%s/actions/runs/%s"}\n' \ "$GITHUB_SHA" \ "$GITHUB_REF_NAME" \ "$GITHUB_REPOSITORY" \ "$GITHUB_SERVER_URL" \ "$GITHUB_REPOSITORY" \ - "$GITHUB_RUN_ID" > version.json + "$GITHUB_RUN_ID" | tee version.json - id: gcp-auth uses: google-github-actions/auth@v2