From a618adfc2ea837644708ef7a7b5be484f3924e12 Mon Sep 17 00:00:00 2001 From: vlakoff <544424+vlakoff@users.noreply.github.com> Date: Fri, 1 May 2026 00:25:12 +0200 Subject: [PATCH] Refine version extraction syntax in deploy workflow Replaced the not recommended "implicit concatenation" formatting in deploy.yml with a literal block scalar (|). This adopts a more robust YAML structure and helps prevent future formatting mistakes. --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 16181e4e..a8dc8070 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -58,9 +58,9 @@ jobs: - name: Get the Oxipng version id: oxipngMeta - run: - echo "version=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "oxipng").version')" - >> "$GITHUB_OUTPUT" + run: | + VERSION=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "oxipng").version') + echo "version=$VERSION" >> "$GITHUB_OUTPUT" - name: Retrieve ${{ matrix.target }} binary uses: dawidd6/action-download-artifact@v20