diff --git a/.github/workflows/actions/test-core-screenshot/action.yml b/.github/workflows/actions/test-core-screenshot/action.yml index 4029983b9b..f3acb2bf9e 100644 --- a/.github/workflows/actions/test-core-screenshot/action.yml +++ b/.github/workflows/actions/test-core-screenshot/action.yml @@ -35,9 +35,9 @@ runs: # - run all the file paths that are in the component folder. For example: if the component is "item", then the test will run all the file paths that are in the "src/components/item/" folder. run: | if [ -n "${{ inputs.component }}" ] && [ "${{ inputs.component-folder }}" == "true" ]; then - echo "testFile=$(echo '${{ inputs.component }}')" >> $GITHUB_OUTPUT - elif [ -n "${{ inputs.component }}" ]; then echo "testFile=$(echo 'src/components/${{ inputs.component }}/')" >> $GITHUB_OUTPUT + elif [ -n "${{ inputs.component }}" ]; then + echo "testFile=$(echo '${{ inputs.component }}')" >> $GITHUB_OUTPUT else echo "testFile=$(echo '')" >> $GITHUB_OUTPUT fi