Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] many patterns usable to locate files #637

Open
unional opened this issue Nov 2, 2024 · 0 comments
Open

[bug] many patterns usable to locate files #637

unional opened this issue Nov 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@unional
Copy link

unional commented Nov 2, 2024

What happened?

I have the following folder structure:

packages/
  vis/
    __snapshots__/
      linux/
        __diff_output__/
        __results__/
        ...other files and folders...
      darwin/
        __diff_output__/
        __results__/
        ...other files and folders...
      ...other files and folders...

I want to include them in the artifact.
The only one I found working is:

  - uses: actions/upload-artifact@v4
    with:
      path: '**/__snapshots__/linux'

All of the following fails with No files were found:

  path: |
    '**/__snapshots__/*/__diff_output__'
    '**/__snapshots__/*/__results__'
  path: |
    '**/__snapshots__/linux'
    '**/__snapshots__/darwin'
    '**/__snapshots__/win32'
  path: |
    '**/__snapshots__/linux/__diff_output__'
    '**/__snapshots__/linux/__results__'

What did you expect to happen?

Seems like multi-path is not working

How can we reproduce it?

I run into this issue in this repo:
https://github.com/repobuddy/storybook-addon-vis/actions/runs/11620098467

Have not able to find time to create a minimum repro yet.

Anything else we need to know?

No response

What version of the action are you using?

v4

What are your runner environments?

linux

Are you on GitHub Enterprise Server? If so, what version?

No response

@unional unional added the bug Something isn't working label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant