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()