actions / upload-artifact

MIT License
3.16k stars 708 forks source link

[bug] all artifacts are not getting uploaded. #575

Closed aviralpostman closed 3 months ago

aviralpostman commented 3 months ago

What happened?

I'm trying to upload multiple files as artifacts, but the generated zip only contains a single file. image

What did you expect to happen?

both the files should have been there in the zip file.

How can we reproduce it?

- name: Upload artifacts
        uses: actions/upload-artifact@v4
        with:
          name: abc
          path: |
            file1.txt
            file2.txt

Upload any 2 files

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