Skip to content

Commit

Permalink
removed empty line in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
adammino-ledger committed Nov 22, 2024
1 parent 3cd4752 commit 69c77f9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/actions/composites/update-snapshots-desktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,17 @@ runs:
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') }}
run: |
pnpm desktop test:playwright:update-snapshots
shell: bash

- name: Status (Linux | macOS)
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') }}
Expand All @@ -35,12 +32,10 @@ runs:
$out = $out.Trim()
echo "status=$out" >> $env:GITHUB_OUTPUT
shell: pwsh

- id: changes
run: |
echo "changes=$(git status -s)" >> $GITHUB_OUTPUT
shell: bash

- name: Commit snapshots
if: ${{ steps.status.outputs.status != 0 || steps.status-windows.outputs.status != 0 }}
run: |
Expand All @@ -51,7 +46,6 @@ runs:
git push ||
echo ""
shell: bash

- name: Upload playwright results [On Failure]
uses: actions/upload-artifact@v4
if: ${{ failure() && !cancelled() }}
Expand Down

0 comments on commit 69c77f9

Please sign in to comment.