Skip to content

Commit

Permalink
Fix continue-on-error configuration (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval authored Jan 18, 2023
1 parent c0f3610 commit ca49609
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/update-snapshots/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ inputs:
required: false
default: chromium
continue_on_error:
description: Whether to continue on error when updating snapshots or not.
description: Whether to continue on error when updating snapshots or not (one of [`yes`, `no`]).
required: false
default: true
default: yes
dry_run:
description: Whether this is a dry run (one of [`yes`, `no`])
required: false
Expand Down Expand Up @@ -77,7 +77,7 @@ runs:

- name: Generate new snapshots
# Get as much update as possible
continue-on-error: ${{ inputs.continue_on_error }}
continue-on-error: ${{ inputs.continue_on_error == 'yes' }}
shell: bash -l {0}
working-directory: ${{ inputs.test_folder }}
run: yarn run ${{ inputs.update_script }}
Expand Down

0 comments on commit ca49609

Please sign in to comment.