Skip to content

id diff missing on step workflow check-dist #1205

@alexquitiaquez

Description

@alexquitiaquez

Hi,
I found that this condition is not working steps.diff.conclusion == 'failure' cause there is no id for previous step that does the comparison

if: ${{ failure() && steps.diff.conclusion == 'failure' }}

All you need is to add the id: diff between these two lines

- name: Compare the expected and actual dist/ directories
run: |

Without that, the action upload-artifact will never upload the artifact dist/

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions