Skip to content

Commit

Permalink
quote conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
adammino-ledger committed Nov 22, 2024
1 parent 69c77f9 commit c414137
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/actions/composites/update-snapshots-desktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c414137

Please sign in to comment.