From 61ad0406a5cb3e673b777ea33c00200dccfab21a Mon Sep 17 00:00:00 2001 From: Chris Banks Date: Mon, 8 Jul 2024 13:21:05 +0100 Subject: [PATCH] Fix another shellcheck lint. --- .github/workflows/build-multiarch.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-multiarch.yaml b/.github/workflows/build-multiarch.yaml index 59e3f48..817abc9 100644 --- a/.github/workflows/build-multiarch.yaml +++ b/.github/workflows/build-multiarch.yaml @@ -36,9 +36,11 @@ jobs: show-progress: false - id: set-matrix run: | - echo "matrix=$(jq -c . < build-matrix.json)" >> "$GITHUB_OUTPUT" - echo "matrix_versions=$(jq -c .version < build-matrix.json)" >> "$GITHUB_OUTPUT" - echo "runs_on=$(jq -c .runs_on < build-matrix.json)" >> "$GITHUB_OUTPUT" + { + echo "matrix=$(jq -c . < build-matrix.json)" + echo "matrix_versions=$(jq -c .version < build-matrix.json)" + echo "runs_on=$(jq -c .runs_on < build-matrix.json)" + } >> "$GITHUB_OUTPUT" build_and_push_image: name: Build ruby_${{ join(matrix.version.rubyver, '.') }} for ${{ matrix.runs_on.arch }} and push to GHCR