From c41413740a5edca3fdfc341d405cd63a2687e286 Mon Sep 17 00:00:00 2001 From: adammino-ledger Date: Fri, 22 Nov 2024 11:59:06 +0000 Subject: [PATCH] quote conditions --- .../composites/update-snapshots-desktop/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/actions/composites/update-snapshots-desktop/action.yml b/tools/actions/composites/update-snapshots-desktop/action.yml index f21a6fb33c00..525f68bc7b70 100644 --- a/tools/actions/composites/update-snapshots-desktop/action.yml +++ b/tools/actions/composites/update-snapshots-desktop/action.yml @@ -9,24 +9,24 @@ runs: using: "composite" steps: - name: Update playwright snapshots [Linux => xvfb-run] - if: ${{ startsWith(inputs.os, 'ubuntu') }} + if: "${{ startsWith(inputs.os, 'ubuntu') }}" run: | xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- pnpm desktop test:playwright:update-snapshots shell: bash - name: Update playwright snapshots - if: ${{ !startsWith(inputs.os, 'ubuntu') }} + if: "${{ !startsWith(inputs.os, 'ubuntu') }}" run: | pnpm desktop test:playwright:update-snapshots shell: bash - name: Status (Linux | macOS) - if: ${{ !startsWith(inputs.os, 'windows') }} + if: "${{ !startsWith(inputs.os, 'windows') }}" id: status run: | echo "status=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT shell: bash - name: Status (Windows) id: status-windows - if: ${{ startsWith(inputs.os, 'windows') }} + if: "${{ startsWith(inputs.os, 'windows') }}" run: | $out = $(git status --porcelain | measure -l | Format-Wide | Out-String -Stream) $out = $out.Trim()